LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-15-2005, 11:39 PM   #1
ccool
Member
 
Registered: Oct 2002
Location: Canada
Distribution: Slackware 10.1
Posts: 71

Rep: Reputation: 15
Question lsusb with kernel-2.6.11


Here all,

I'm not sure if it is a general question or more a slackware 10.1 thing, but here it goes.

While I was trying to install a webcam, I realized that lsusb was not working while I was using a kernel 2.6.11. Everything is working great with my 2.4.29 kernel though. So, Because of this, I tried to upgrade usbutils from 0.12 (version from the slackware packages) to 0.70. I did'nt change a thing, I still have no output from lsusb with the kernel 2.6.11.

Here is my output with 2.4.29:
Code:
root@ccool:/home/ccool# lsusb --version
lsusb (usbutils) 0.70
root@ccool:/home/ccool# lsusb
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 002: ID 046d:0850 Logitech, Inc. QuickCam Web
Bus 001 Device 001: ID 0000:0000
root@ccool:/home/ccool#
and with 2.6.11
Code:
root@ccool:/home/ccool# lsusb --version
lsusb (usbutils) 0.70
root@ccool:/home/ccool# lsusb
root@ccool:/home/ccool#
I've been googling for a few hours and I have'nt found a thing. I don't know if anyone has a clue? I really like my "new" 2.6.11 kernel, and so far, it's the only thing which is not working properly.

Thanks
Ccool
 
Old 03-16-2005, 09:35 AM   #2
ccool
Member
 
Registered: Oct 2002
Location: Canada
Distribution: Slackware 10.1
Posts: 71

Original Poster
Rep: Reputation: 15
Exclamation

Anyone
 
Old 03-16-2005, 10:38 AM   #3
APB_4
Member
 
Registered: Nov 2004
Location: England
Distribution: Ubuntu 9.04; Crunchee; EEE Xandros
Posts: 289

Rep: Reputation: 30
Is hotplug running and has /proc/bus/usb been mounted? If not run /etc/rc.d/rc.hotplug start for the first one. for the second mount -t usbfs usbdevfs /proc/bus/usb
 
Old 03-16-2005, 12:51 PM   #4
ccool
Member
 
Registered: Oct 2002
Location: Canada
Distribution: Slackware 10.1
Posts: 71

Original Poster
Rep: Reputation: 15
It should be running, because everything works fine with 2.4.29.

also, I tried my usb flash memory readers, and it works fine under 2.6.11, the device /dev/sda appears when I put a flash-disk in. It's just "lsusb" which is not working (and because of that, the script to install my webcam)

The same thing goes for gphoto2 and gtkam (digital camera interface for my canon powershot) I mean, it does'nt work anymore. Nothing is detected.

As you asked me, I've check rc.hotplug and here is a error that I got:
Code:
root@ccool:/etc/rc.d# ./rc.hotplug start
mount: unknown filesystem type 'usbdevfs'
umount: /proc/bus/usb: not mounted
and when I did: rc.hotplug status, I found out this:
Code:
USB Status for kernel:  Linux 2.6.11 i686

usbfs is unavailable.
USB module is loaded.
If khubd is running, that shows USB is available.
I hope it helps you help me :s
 
Old 03-16-2005, 12:56 PM   #5
ccool
Member
 
Registered: Oct 2002
Location: Canada
Distribution: Slackware 10.1
Posts: 71

Original Poster
Rep: Reputation: 15
THANKS,

sorry about last post, I just understood what you meant by mounting /proc/bus/usb ... I thought it was mounted, but I was wrong. Now, lsusb is working

The weird thing is that it is supposed to be mounted, because there is an entry in fstab:

none /proc/bus/usb usbdevfs defaults 0 0

is there a reason why it does'nt work ?

Last edited by ccool; 03-16-2005 at 12:59 PM.
 
Old 03-16-2005, 03:03 PM   #6
APB_4
Member
 
Registered: Nov 2004
Location: England
Distribution: Ubuntu 9.04; Crunchee; EEE Xandros
Posts: 289

Rep: Reputation: 30
usbdevfs is the old filesystem type used under the 2.4 kernels. In the 2.6 they changed the filesystem to usbfs although usbfs works under 2.4 so you can change entries in the fstab and tc.hotplug file and still use the 2.4 again.
That should fix it anyway.
Adam
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PC hangs on lsusb command Adrian Baker Linux - General 0 07-07-2005 09:52 AM
lsusb output, hotplug spikeygg Linux - Software 0 01-11-2005 11:03 PM
What does the output of lsusb mean? linuxRunner Linux - Hardware 1 08-16-2004 12:17 PM
modprobe, iwconfig, lsusb and other missing commands dubya Linux - Newbie 3 05-04-2004 09:27 PM
USB devices only recognized with lsusb after plugged in reboot arnostienen Slackware 1 01-29-2004 03:40 PM


All times are GMT -5. The time now is 04:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration