On Mon, 6 Oct 2014, Emiliano Vazquez wrote:

El 06/10/14 a las 10:44, David Lang escibió:
If you plug these in to a PC, what do you see different about them?

David Lang
|
this is dmesg output when insert those USB-Serial Adapters.


[11469.913099] usb 3-3: new full-speed USB device number 3 using xhci_hcd
[11469.930215] usb 3-3: New USB device found, idVendor=1a86, idProduct=7523
[11469.930223] usb 3-3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[11469.930226] usb 3-3: Product: USB2.0-Ser!
[11469.931745] usb 3-3: ch341-uart converter now attached to ttyUSB1

[11219.224337] usb 3-4: new full-speed USB device number 2 using xhci_hcd
[11219.241300] usb 3-4: New USB device found, idVendor=1a86, idProduct=7523
[11219.241307] usb 3-4: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[11219.241310] usb 3-4: Product: USB2.0-Ser!
[11221.613677] usb 3-4: ch341-uart converter now attached to ttyUSB0


Ok, the serial numbers are identical (both blank)



udevadm info -a -n /dev/ttyUSB1 | grep '{serial}'|

   Using this command i get wrong information when i execute on OpenWRT.

If i run in Ubuntu 14.04 this is the output => |ATTRS{serial}=="A6008isP"`|
But if i run on OpenWRT A.A. i get this     => ATTRS{serial}=="ehci-platform"

how can i reproduce the same logger information in Ubuntu?

udevadm is showing you info after udev has changed it, so with different sets of udev rules, you will get different results

what does 'lsusb -v -s 3:3' and -s 3:4 show on Ubuntu?

I would say that the openwrt serial shown by udevadm info is faulty, but I suspect that the Ubuntu one is faulty as well, just in a different way.

David Lang
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to