cdc_acm driver

Sekcia: Hardware a Drivery 24.08.2016 | 20:11
Avatar BIBIBO   Návštevník

Ahojte,

Mam starsi procesor AT90USB162, ktory vytvori virtualny com port. Na Windowse funguje dobre ale na Ubuntu nefunguje korektne. Ked ho pripojim k Ubuntu, tak sa zda, ze je vsetko ok.

[  649.384033] usb 2-3: new full-speed USB device number 16 using xhci_hcd
[  649.984895] usb 2-3: New USB device found, idVendor=16d0, idProduct=202d
[  649.984906] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  649.984911] usb 2-3: Product: GPSPIGEON
[  649.984915] usb 2-3: Manufacturer: BIBIBO
[  649.984920] usb 2-3: SerialNumber: GPS001
[  649.985274] usb 2-3: ep 0x83 - rounding interval to 1024 microframes, ep desc says 2040 microframes
[  650.004853] cdc_acm 2-3:1.0: ttyACM0: USB ACM device

Akonahle vsak skusim cat /dev/ttyACM0, tak sa mi ho odpoji. Vedeli by ste mi poradit?

[ 1287.623891] usb 2-3: reset full-speed USB device number 16 using xhci_hcd
[ 1292.735349] usb 2-3: device descriptor read/64, error -110
[ 1307.951116] usb 2-3: device descriptor read/64, error -110
[ 1308.167059] usb 2-3: reset full-speed USB device number 16 using xhci_hcd
[ 1313.278871] usb 2-3: device descriptor read/64, error -110
[ 1328.494535] usb 2-3: device descriptor read/64, error -110
[ 1328.710461] usb 2-3: reset full-speed USB device number 16 using xhci_hcd
[ 1333.718301] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 1338.934143] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 1339.138080] usb 2-3: device not accepting address 16, error -62
[ 1339.250132] usb 2-3: reset full-speed USB device number 16 using xhci_hcd
[ 1344.261963] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 1349.477826] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 1349.681760] usb 2-3: device not accepting address 16, error -62
[ 1349.681942] usb 2-3: USB disconnect, device number 16
    • RE: cdc_acm driver 24.08.2016 | 21:39
      Avatar samalama   Návštevník

      skus v biose vypnut usb3 (mozno by aj stacilo v linuxe zablacklistovat xhci modul...)

      • RE: cdc_acm driver 24.08.2016 | 22:29
        Avatar bibibo   Návštevník

        Ahoj, BIOS taku moznost nema a blacklist vobec nefunguje.

        • RE: cdc_acm driver 25.08.2016 | 13:47
          Avatar bibibo   Návštevník

          Skompiloval som si teda kernel bez xhci a uz mi to moje zariadenie nanaslo vobec.

          • RE: cdc_acm driver 25.08.2016 | 16:08
            Avatar samalama   Návštevník

            takze problem je vyrieseny... 8-)

        • RE: cdc_acm driver 25.08.2016 | 16:07
          Avatar samalama   Návštevník

          BIOS taku moznost nema

          blby bios

          blacklist vobec nefunguje

          tak si to urobil zle...

        • RE: cdc_acm driver 26.08.2016 | 11:42
          Avatar samalama   Návštevník
          lsmod | awk '/^xhci/ { print "blacklist " $1 }' >> /etc/modprobe.d/xhci-blacklist.conf
          • RE: cdc_acm driver 26.08.2016 | 17:09
            Avatar bibibo   Návštevník

            Toto tie nefunguje. Stale to moje zariadenie pouziva ovladac xhci_hcd

            • RE: cdc_acm driver 26.08.2016 | 20:03
              Avatar samalama   Návštevník
              find /lib/modules/$(uname -r)/ -iname "*xhci*"