Hi, I'm relatively new to linux, and am running Debian. I was wondering how I can check if a usb device is recognized or not? I found on another post that I can check the file /proc/bus/usb/devices, which is what I did. Here is the output ('cat devices'):
Code:
T: Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 4
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.11-1-k7 ehci_hcd
S: Product=VIA Technologies, Inc. USB 2.0
S: SerialNumber=0000:00:13.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.11-1-k7 uhci_hcd
S: Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
S: SerialNumber=0000:00:13.1
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.11-1-k7 uhci_hcd
S: Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
S: SerialNumber=0000:00:13.0
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.11-1-k7 ohci_hcd
S: Product=Silicon Integrated Systems [SiS] USB 1.0 Controller (#2)
S: SerialNumber=0000:00:02.3
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.11-1-k7 ohci_hcd
S: Product=Silicon Integrated Systems [SiS] USB 1.0 Controller
S: SerialNumber=0000:00:02.2
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
Now, the weird thing is that I only have four usb slots on the back of my machine. I believe according to the mobo manual that there is a connector for two more usb slots on the mobo itself (I suppose for a case that has slots on the front), but I don't believe they are hooked up, as my case doesn't have front usb slots. Either way though that totals to 4 or 6 usb connections, not 5. So why is my system recognizing 5? And why are 2 of them using the SiS USB 1.0 Controller, 2 others are using the VIA Tech USB 1.1 Controller and the last 1 using the VIA Tech USB 2.0 Controller? Or more exactly, how do I determine which usb slot is hooked up to which controller (since apparently I have 2 usb 1.0, 2 usb 1.1, and 1 usb 2.0 slots).
Another weird point is that when I checked the devices file, I currently had two usb devices plugged in - a Sony Clie, and a Canon A510 camera.
In regard to the Sony Clie, I have no way of knowing if the system recognizes it, but apparently it does, or at least it does when I start up KPilot and try syncing. However, and I don't know if this matters, but when I first start up KPilot, it tries to open /dev/pilot and fails to. But then when I hit the sync button on the Clie, it starts syncing. I also confirmed this works with both of the usb cables currently attached.
In regard to the Canon A510, I cannot get this recognized. I installed libgphoto2-2__2.1.5-4, libgphoto2-port0__2.1.5-4, gphoto2__2.1.5-1, gtkam__0.1.12-2.1, and gtkam-gimp__0.1.12-2.1, yet when I run gtkam it doesn't recognize the camera (even when I try to detect it) and I tried with both the usb cables that are attached.
Lastly, if it matters, the back of my computer has two usb slots on one row and on the row below it has two more and the eth0 connection beside it. I have the two usb cables plugged into the top two usb slots.
Also, I first did a search for the Canon A510 on Linux, and found some infor on the archives section of this site - 18/2005/04/4/311809 (I can't post a URL since this is my first post) - go to westexe's reply near the bottom of the page.
Please help, and sorry for the long post. Basically, I'm first concerned with getting the Canon recognized so that I can transfer photos, but I am also curious about usb devices on linux and how they work (hence the bit about what my devices file contains, etc). I'm used to windoze where the systray shows an icon. I want to know how to connect usb devices in general in linux for future reference if I get a usb drive, or a friend has one and I want to transfer files, or I get any other usb device and need to connect it.
Thank you so much for any help you can give me.