Jump to content

chomiczon

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by chomiczon

  1. Hi.

    I have problem with Rock64 and ICYBOX IB-RD2253-U31 (USB3.1 Raid Enclosure)

    Kernel:

    Linux rock64 4.4.167-rockchip64 #3 SMP Sat Jan 12 18:58:23 CET 2019 aarch64 GNU/Linux

     

    dmesg on ICYBOX connected:

    [    3.112348] usb 1-1: New USB device found, idVendor=1234, idProduct=5678
    [    3.112362] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
    [    3.112368] usb 1-1: Product: ASM1352R-Safe
    [    3.112374] usb 1-1: Manufacturer: Asmedia
    [    3.112379] usb 1-1: SerialNumber: 123412341249
    [    3.113303] input: Asmedia ASM1352R-Safe as /devices/platform/ff580000.usb/usb1/1-1/1-1:1.0/input/input1

     

    Rock64#lsusb -v -t -d 1234:5678

    /:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
    /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
    /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M
        |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usbtouchscreen, 480M

     

    As you can see Mass Storage uses Driver=usbtouchscreen and I can't change it using udev mapping

     

    ACTION=="add", ATTRS{idVendor}=="1234", ATTRS{idProduct}=="5678", RUN+="/sbin/modprobe uas" RUN+="/bin/sh -c 'echo 1234 5678 > /sys/bus/usb/drivers/uas/new_id'"

     

    After udev:

     

    rock64:~# lsusb -v -t -d 1234:5678
    /:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
        |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 480M
    /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
    /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
    /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M
        |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usbtouchscreen, 480M

     

    On Debian9 x86_64 and RaspberryPi 2, ICYBOX work perfectly. Any ideas why it doesn't work on Rock64?

     

     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines