'Dave B' g8kbvdave-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org [linuxham]
2014-10-07 14:20:46 UTC
Hi again.
While waiting for the list machinery to churn, and others to think about my
request re multiple USB<>RS232 devices, and consistant naming/numbering.
I plugged on at Usbview, but on an older machine running Lubuntu 12.04 (I
know.)
I pulled this file of sources.
http://www.kroah.com/linux-usb/usbview-2.0.tar.gz
Extracted them to a folder...
cd that folder
./configure, ann error! It burps on gtk+-3.0 missing.
The problem was that the GTK dev libs were not installed.
Once they were, it configures, make, make install etc just fine.
But, would crash on running with an error:-
-----------------------------------------------------------
Can not open the file /sys/kernel/debug/usb/devices
Verify that you have USB compiled into your kernel,
have the USB core modules loaded, and have the
usbdevfs filesystem mounted.
-----------------------------------------------------------
Well, as USB devices were working just fine, I suspected that the needed stuff
was indeed in there and loaded.
Of course, after a swig of refreshed (now hot) coffee. From a command line I
then tried (instead of just 'usbview'...) 'sudo usbview' And lo! It works.
(Rights issues, as usual...)
I can now see the individual USB device unique serial numbers. Those that
have them that is...
Example...
-----------------------------------------------------------
US232R
Manufacturer: FTDI
Serial Number: FTDBHZL8
Speed: 12Mb/s (full)
USB Version: 2.00
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 8
Number of Configurations: 1
Vendor Id: 0403
Product Id: 6001
Revision Number: 6.00
(and then more stuff...)
-----------------------------------------------------------
(The above is for a FTDI USB<>RS232 device, "borrowed" from a colegues
windoze machine while he wasnt looking.)
Now... All I need is to figure out, is how to use (is it?) udev correctly, I think?
Am I on the right track, or heading towards the buffers again?
73.
Dave G0WBX.
PS: I used the source download file at:-
http://www.kroah.com/linux-usb/usbview-2.0.tar.gz
------------------------------------
Posted by: "Dave B" <g8kbvdave-gM/Ye1E23mwN+***@public.gmane.org>
------------------------------------
While waiting for the list machinery to churn, and others to think about my
request re multiple USB<>RS232 devices, and consistant naming/numbering.
I plugged on at Usbview, but on an older machine running Lubuntu 12.04 (I
know.)
I pulled this file of sources.
http://www.kroah.com/linux-usb/usbview-2.0.tar.gz
Extracted them to a folder...
cd that folder
./configure, ann error! It burps on gtk+-3.0 missing.
The problem was that the GTK dev libs were not installed.
Once they were, it configures, make, make install etc just fine.
But, would crash on running with an error:-
-----------------------------------------------------------
Can not open the file /sys/kernel/debug/usb/devices
Verify that you have USB compiled into your kernel,
have the USB core modules loaded, and have the
usbdevfs filesystem mounted.
-----------------------------------------------------------
Well, as USB devices were working just fine, I suspected that the needed stuff
was indeed in there and loaded.
Of course, after a swig of refreshed (now hot) coffee. From a command line I
then tried (instead of just 'usbview'...) 'sudo usbview' And lo! It works.
(Rights issues, as usual...)
I can now see the individual USB device unique serial numbers. Those that
have them that is...
Example...
-----------------------------------------------------------
US232R
Manufacturer: FTDI
Serial Number: FTDBHZL8
Speed: 12Mb/s (full)
USB Version: 2.00
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 8
Number of Configurations: 1
Vendor Id: 0403
Product Id: 6001
Revision Number: 6.00
(and then more stuff...)
-----------------------------------------------------------
(The above is for a FTDI USB<>RS232 device, "borrowed" from a colegues
windoze machine while he wasnt looking.)
Now... All I need is to figure out, is how to use (is it?) udev correctly, I think?
Am I on the right track, or heading towards the buffers again?
73.
Dave G0WBX.
PS: I used the source download file at:-
http://www.kroah.com/linux-usb/usbview-2.0.tar.gz
------------------------------------
Posted by: "Dave B" <g8kbvdave-gM/Ye1E23mwN+***@public.gmane.org>
------------------------------------