On Mon, 6 Oct 2014, Emiliano Vazquez wrote:
El 03/10/14 a las 00:06, Weedy escibió:
What does debugging give you?
#!/bin/sh
logger -t DEBUG "hotplug usb: action='$ACTION'
devicename='$DEVICENAME' devname='$DEVNAME' devpath='$DEVPATH'
product='$PRODUCT' type='$TYPE' interface='$INTERFACE'"
First USB-Serial Adapter:
Oct 6 11:01:04 OpenWrt kern.info kernel: [396243.210000] usb 1-1.2: new
full-speed USB device number 5 using ehci-platform
Oct 6 11:01:04 OpenWrt user.notice DEBUG: hotplug usb: action='add'
devicename='1-1.2' devname='bus/usb/001/005'
devpath='/devices/platform/ehci-platform/usb1/1-1/1-1.2'
product='1a86/7523/254' type='255/0/0' interface=''
Oct 6 11:01:04 OpenWrt user.notice DEBUG: hotplug usb: action='add'
devicename='1-1.2:1.0' devname=''
devpath='/devices/platform/ehci-platform/usb1/1-1/1-1.2/1-1.2:1.0'
product='1a86/7523/254' type='255/0/0' interface='255/1/2'
Second USB-Serial Adapter:
Oct 6 11:01:23 OpenWrt kern.info kernel: [396262.490000] usb 1-1.1: new
full-speed USB device number 6 using ehci-platform
Oct 6 11:01:23 OpenWrt user.notice DEBUG: hotplug usb: action='add'
devicename='1-1.1' devname='bus/usb/001/006'
devpath='/devices/platform/ehci-platform/usb1/1-1/1-1.1'
product='1a86/7523/254' type='255/0/0' interface=''
Oct 6 11:01:23 OpenWrt user.notice DEBUG: hotplug usb: action='add'
devicename='1-1.1:1.0' devname=''
devpath='/devices/platform/ehci-platform/usb1/1-1/1-1.1/1-1.1:1.0'
product='1a86/7523/254' type='255/0/0' interface='255/1/2'
Only devicename and devpath are diferent but that is because they are in
diferent usb ports.
If you plug these in to a PC, what do you see different about them?
David Lang
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users