View previous topic :: View next topic |
Author |
Message |
Aciel Tux's lil' helper

Joined: 07 Jan 2004 Posts: 91
|
Posted: Thu Apr 27, 2006 12:28 pm Post subject: USB not showing up in udev |
|
|
I switched to udev recently. Note, however, that I never messed with usb in devfs. I didn't bother using it.
I can't get my usb ports to show up in /dev. They're in the kernel, etc. I've got usbutils-0.71-r1 installed. they show up as follows in lsusb:
Code: | # lsusb -t
Bus# 2
`-Dev# 1 Vendor 0x0000 Product 0x0000
Bus# 1
`-Dev# 1 Vendor 0x0000 Product 0x0000
|
Note, mobo is an Asus A7M266.[/code]
lspci gives the following:
Code: | 00:04.2 USB Controller: VIA Technologies, Inc. USB (rev 16) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
Flags: bus master, medium devsel, latency 32, IRQ 9
I/O ports at d400 [size=32]
Capabilities: [80] Power Management version 2
00:04.3 USB Controller: VIA Technologies, Inc. USB (rev 16) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
Flags: bus master, medium devsel, latency 32, IRQ 9
I/O ports at d000 [size=32]
Capabilities: [80] Power Management version 2 |
Why does it say Wrong ID? Any ideas?
Many thanks! |
|
Back to top |
|
 |
rokstar83 Guru


Joined: 09 Apr 2005 Posts: 423 Location: MD
|
Posted: Thu Apr 27, 2006 2:22 pm Post subject: |
|
|
My impression was that you find anything in your /dev until you plug something into one of the ports. IE: plug in an external usb drive and you find a /dev/sda entry. Plug in a joystick and you'll have a /dev/input/js0. What specifically are you looking for in /dev? |
|
Back to top |
|
 |
Aciel Tux's lil' helper

Joined: 07 Jan 2004 Posts: 91
|
Posted: Thu Apr 27, 2006 7:11 pm Post subject: |
|
|
A camera (effectively, a USB hard drive). I plug it in and can't find any difference (using diff -y -suppress-common-lines) between the available devices. I do have sda entries available, but how do I determine which is the camera?
Code: | # lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 04cb:0171 Fuji Photo Film Co., Ltd
Bus 001 Device 001: ID 0000:0000 |
|
|
Back to top |
|
 |
BitJam Advocate

Joined: 12 Aug 2003 Posts: 2513 Location: Silver City, NM
|
Posted: Thu Apr 27, 2006 8:59 pm Post subject: |
|
|
If the scsi device is /dev/sda then do: Code: | $ udevinfo -a -p $(udevinfo -q path -n /dev/sda) |
This will tell you information about that device. Then use this info to create a special rule in the /etc/udev/rules.d/10-local.rules file. For example I have: Code: | BUS=="usb", SYSFS{serial}=="0002F5DAD228848B", NAME="muvo" |
which causes udev to create a device /dev/muvo whenever my muvo mp3 player is plugged in. Then KDE automounts that device to /media/muvo which removes all ambiguity. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|