You are not logged in.

#1 2010-03-07 01:40:09

Dave Cohen
Member
Registered: 2008-09-27
Posts: 126

lsusb shows nothing, after upgrade

I noticed this when printing failed.  I started thinking, "oh no, not again.  CUPS breaks with every upgrade."  But I couldn't follow the advice on how to fix CUPS, because I have no /dev/bus/... directory.

Then I noticed, lsusb returns nothing!

[dave@starbuck ~]$ sudo lsusb
[dave@starbuck ~]$

When I disconnect then reconnect my USB printer/scanner, I get this from `dmesg`:

usb 1-1.2: new high speed USB device using ehci_hcd and address 8
usb 1-1.2: configuration #1 chosen from 1 choice
scsi10 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 8
usb-storage: waiting for device to settle before scanning
scsi 10:0:0:0: Direct-Access     HP       Photosmart C4400 1.00 PQ: 0 ANSI: 5
sd 10:0:0:0: [sdd] Attached SCSI removable disk
sd 10:0:0:0: Attached scsi generic sg4 type 0
usb-storage: device scan complete

Seems to be recognizing it as USB storage.  Still, even then I get nothing from lsusb:

[dave@starbuck ~]$ sudo ls /dev/bus
ls: cannot access /dev/bus: No such file or directory
[dave@starbuck ~]$ sudo lsusb
[dave@starbuck ~]$

Any ideas?  Thanks!

Offline

#2 2010-03-07 14:56:43

Dave Cohen
Member
Registered: 2008-09-27
Posts: 126

Re: lsusb shows nothing, after upgrade

progress but still confused...

Found this thread: http://ubuntuforums.org/showthread.php?t=670878, and followed its instructions to run this command:

mount -t usbfs usbfs /proc/bus/usb/

After running, I found that both usbview and lsusb work!

[root@starbuck ~]# lsusb
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 1307:0163 Transcend Information, Inc. 512MB/1GB Flash Drive
Bus 001 Device 005: ID 03f0:6c11 Hewlett-Packard 
Bus 001 Device 004: ID 046d:c001 Logitech, Inc. N48/M-BB48 [FirstMouse Plus]
Bus 001 Device 003: ID 0409:0058 NEC Corp. HighSpeed Hub
Bus 001 Device 002: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I was even able to go into CUPS, delete the printer in question, then add it again and print a test page.  So that's some success.

But I fear when I reboot, none of this will work again.  So what's the deal?  Should I even need to mount the usbfs if I have hal running?  And how can I ensure things will be set up automatically?

Offline

Board footer

Powered by FluxBB