LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 03-18-2006, 04:43 PM   #1
RVDowning
Member
 
Registered: Jan 2006
Location: Atlanta, GA
Distribution: Mandriva 2006
Posts: 75

Rep: Reputation: 15
lsusb shows nothing, but getting closer


Trying to install a cam on my Mandriva 2006 system, but am having a problem with the quickcam.sh script. It says that the usb file system is not mounted. If I run lsusb it returns nothing. Why would this be? I have the cam plugged in to the usb port, but even if I didn't, shouldn't I still get some output from lsusb?

I've tried rebooting with the cam plugged in, but that changes nothing.

Any ideas?

Last edited by RVDowning; 03-21-2006 at 07:52 PM.
 
Old 03-18-2006, 09:00 PM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 58
do you have either the driver loaded for the camera? do you have usb modules loaded? what is the output of lsmod?
 
Old 03-18-2006, 09:45 PM   #3
RVDowning
Member
 
Registered: Jan 2006
Location: Atlanta, GA
Distribution: Mandriva 2006
Posts: 75

Original Poster
Rep: Reputation: 15
lsmod | grep usb returns nothing. I don't have the driver for the camera loaded, because I'm trying to compile the driver for the camera.

In the process of running the shell script I get the following error:

[!] lsusb (/usr/sbin/lsusb) doesn't work. Maybe USB filesystem is not mounted.
To mount it, do mount none /proc/bus/usb -t usbdevfs
as root, or insert line none /proc/bus/usb usbdevfs defaults 0 0
into /etc/fstab, and do command mount -a as root.

However when I type:

[root@localhost rvd]# mount none /proc/bus/usb -t usbdevfs
mount: unknown filesystem type 'usbdevfs'

It doesn't seem to know what usbdevfs is.

I can't even plug in my digital cam any more. I used to get a popup asking me if I wanted to copy pictures to the computer, but now it does nothing. Don't think I've changed anything on the machine, except for doing the updates weekly. Wonder if those updates hosed me.

Is there any way to reinstall usb capability?
 
Old 03-18-2006, 09:47 PM   #4
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 58
if you dont have any usb modules loaded, then no it wouldnt know what usbfs or any usb device is.. youll have to load them. what is the output of lsmod
 
Old 03-18-2006, 10:18 PM   #5
krkda
LQ Newbie
 
Registered: Jul 2004
Location: Central Coast, Australia
Distribution: Mandriva 2006
Posts: 12

Rep: Reputation: 0
Are you logged in as root when u issue lsusb? Mandriva makes it so only the super user can do that

change to root and try that command again
 
Old 03-18-2006, 10:37 PM   #6
RVDowning
Member
 
Registered: Jan 2006
Location: Atlanta, GA
Distribution: Mandriva 2006
Posts: 75

Original Poster
Rep: Reputation: 15
krkda: yes, I executed lsusb as root.

nadroj: following is output from lsmod.

[root@localhost rvd]# lsmod
Module Size Used by
videodev 7104 0
ohci_hcd 19172 0
uhci_hcd 29168 0
usbcore 108476 3 ohci_hcd,uhci_hcd
vfat 10592 0
fat 45948 1 vfat
nls_iso8859_1 3680 1
isofs 32312 1
it87 25248 0
eeprom 5616 0
i2c_sensor 2592 2 it87,eeprom
i2c_isa 1600 0
i2c_nforce2 5568 0
i2c_core 17360 5 it87,eeprom,i2c_sensor,i2c_isa,i2c_nforce2
raw 6592 1
nvidia 4068944 12
md5 3584 1
ipv6 233984 10
snd_seq_dummy 2532 0
snd_seq_oss 31136 0
snd_seq_midi_event 5696 1 snd_seq_oss
snd_seq 46960 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 48960 0
snd_mixer_oss 16896 1 snd_pcm_oss
snd_emu10k1 116516 5
snd_rawmidi 19616 1 snd_emu10k1
snd_seq_device 6828 5 snd_seq_dummy,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi
snd_ac97_codec 83900 1 snd_emu10k1
snd_pcm 79784 6 snd_pcm_oss,snd_emu10k1,snd_ac97_codec
snd_timer 20548 3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc 8392 2 snd_emu10k1,snd_pcm
snd_util_mem 3232 1 snd_emu10k1
snd_hwdep 6848 1 snd_emu10k1
snd 46116 18 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec, snd_pcm,snd_timer,snd_hwdep
soundcore 7008 1 snd
lp 10024 0
parport_pc 32612 1
parport 31976 2 lp,parport_pc
forcedeth 16544 0
af_packet 16392 2
floppy 55444 0
video 14052 0
thermal 10792 0
tc1100_wmi 5092 0
processor 17876 1 thermal
fan 3172 0
container 3008 0
button 4848 0
battery 7460 0
ac 3268 0
ide_cd 37988 1
loop 14504 0
supermount 31956 1
amd64_agp 9928 1
agpgart 29032 2 nvidia,amd64_agp
reiserfs 266420 2
sd_mod 16112 0
sata_nv 5892 0
libata 41828 1 sata_nv
scsi_mod 120808 2 sd_mod,libata
[root@localhost rvd]#

Hope this gives you a clue.
 
Old 03-18-2006, 10:40 PM   #7
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 58
try loading the required module
Code:
modprobe usbdevfs
 
Old 03-18-2006, 11:18 PM   #8
RVDowning
Member
 
Registered: Jan 2006
Location: Atlanta, GA
Distribution: Mandriva 2006
Posts: 75

Original Poster
Rep: Reputation: 15
Ok, I did modprobe usbdevfs

now a lsmod | grep usb give the following:
usbcore 108476 0

However, this goes away after a reboot.

lsusb still returns nothing.

I now have a directory /proc/bus/usb which is empty. This directory did not exist before.

Still nothing occurs if I plug in my digital cam, including leaving it plugged in over a reboot.

Also, the device does not show when doubleclicking the devices icon.

Last edited by RVDowning; 03-18-2006 at 11:19 PM.
 
Old 03-18-2006, 11:21 PM   #9
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 58
the module you loaded wouldnt be loaded on reboot because it was never told to.. 'modprobe' loads the module until you remove it, or until the computer is restarted--whicever is first.

so, modprobe the module that i mentioned before (if you rebooted and hence the module is gone now), then plug in your usb device. give us the output of 'dmesg | tail'
 
Old 03-18-2006, 11:27 PM   #10
RVDowning
Member
 
Registered: Jan 2006
Location: Atlanta, GA
Distribution: Mandriva 2006
Posts: 75

Original Poster
Rep: Reputation: 15
Digital cam had been plugged in, so I unplugged it and plugged it back in a couple of times.

Output you requested is:

[root@localhost rvd]# dmesg | tail
bootsplash: status on console 2 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 9887 bytes, v3).
bootsplash: status on console 3 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 9887 bytes, v3).
bootsplash: status on console 4 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 9887 bytes, v3).
bootsplash: status on console 5 changed to on
eth0: no IPv6 routers present
usbcore: registered new driver usbfs
usbcore: registered new driver hub
[root@localhost rvd]#

How does one get the effect of "modprobe usbdevfs" to remain accross boots. Does this command need to be added to some specific file that is executed upon boot?

(BTW, thanks for your help on this.)
 
Old 03-18-2006, 11:32 PM   #11
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 58
hmm.. try it again. just unplug it, thne plug it in once.. but use this command so we can see more output (if there is any other more relevant and helpful info):
Code:
dmesg | tail -n 25
what is the model and make of the usb device? have you looked on the manufacturer site or on lq.org or other search engines for linux help/linux modules for it?
 
Old 03-18-2006, 11:41 PM   #12
RVDowning
Member
 
Registered: Jan 2006
Location: Atlanta, GA
Distribution: Mandriva 2006
Posts: 75

Original Poster
Rep: Reputation: 15
root@localhost rvd]# dmesg | tail -n 25
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module 1.0-8178 Wed Dec 14 16:22:51 PST 2005
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
i2c_adapter i2c-0: nForce2 SMBus adapter at 0x1c00
i2c_adapter i2c-1: nForce2 SMBus adapter at 0x2000
it87: Found IT8712F chip at 0x290, revision 6
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 9887 bytes, v3).
bootsplash: status on console 0 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 9887 bytes, v3).
bootsplash: status on console 1 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 9887 bytes, v3).
bootsplash: status on console 2 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 9887 bytes, v3).
bootsplash: status on console 3 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 9887 bytes, v3).
bootsplash: status on console 4 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 9887 bytes, v3).
bootsplash: status on console 5 changed to on
eth0: no IPv6 routers present
usbcore: registered new driver usbfs
usbcore: registered new driver hub
[root@localhost rvd]#

Don't know that anything changed, but I did unplug it and just plugged it in again after a few seconds.

Problems started today when I was trying to add a webcam. System wouldn't recognize it. So, just as a test, I plugged in my digital cam (Sony Cyber-shot DSC-W1/W12) with which I had never had a problem, only to discover that it was no longer recognized.

I've done nothing to my system except for the weekly updates. Maybe I should have left well enough alone and not applied the regular updates.
 
Old 03-18-2006, 11:46 PM   #13
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 58
hmm.. you didnt need any drivers for it or anything before, do you remmeber?

is there a special mode you have to set the camera to in order for it to be used to transfer files to the computer?

edit:
try this. unplug the device.. execute the 2 following commands, then plug in the device, and paste output of 'dmesg | tail' again.
Code:
modprobe usb-ehci
modprobe usb-storage
if usb-storage doesnt work after testing, maybe i have the wrong module name.. so try usb_storage

Last edited by nadroj; 03-19-2006 at 12:02 AM.
 
Old 03-18-2006, 11:56 PM   #14
RVDowning
Member
 
Registered: Jan 2006
Location: Atlanta, GA
Distribution: Mandriva 2006
Posts: 75

Original Poster
Rep: Reputation: 15
No I didn't do anything with regard to drivers. Mandriva just recognized it the first time I plugged it in, and a popup came up saying there were pictures in the cam and asked me if I wanted to copy them to the computer. No special mode for the camera. It just says "USB Mode Normal" and is awaiting an instruction from the computer.

So, not only am I not getting anywhere with installing a webcam, I don't even have the functionality I had.

How does one get the effect of "modprobe usbdevfs" to remain accross boots. Does this command need to be added to some specific file that is executed upon boot?
 
Old 03-18-2006, 11:58 PM   #15
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 58
i dont think you should worry about running that command everytime you boot right now.. as you dont know exactly which modules you do need for it to work fully.. i think we should determine that then work on the other part (although its not hard)

did you read and try my edit from last post?
 
  


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 Off
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 with kernel-2.6.11 ccool Linux - General 5 03-16-2005 03:03 PM
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
snmp staus shows it running but on trying MRTG, it shows public@ipaddr not giving res swati220781 Linux - Networking 3 07-08-2004 05:32 PM


All times are GMT -5. The time now is 05:49 PM.

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