Jump to content

how to install (reinstall) usb


RVDowning
 Share

Recommended Posts

My /proc/bus/usb directory doesn't exist. I used to be able to plug in my digital cam and I would get a popup asking if I wanted to copy pictures to the system. Now nothing happens. It seems that somehow my usb capability has "gone away" sometime within the last two or three months.

 

Is there a way to install (reinstall) "usb capability"?

Link to comment
Share on other sites

Mandriva 2006. ls mod follows: (without having done a "modprobe usbdevfs")

 

[root@localhost rvd]# lsmod
Module				  Size  Used by
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
nvidia			   4068944  12
raw					 6592  1
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_de
vice,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  0
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]#

Link to comment
Share on other sites

Well, I did that, but it doesn't seem to have any effect on anything. lsusb still shows nothing. /proc/bus/usb is still an empty directory. Plugging in my digital cam causes no popup. Nothing related to usb shows when doubleclicking the devices icon.

 

Is there somewhere that items line "modprobe usbdevfs" and "modprobe usbcore" belong so that they get executed during the boot process?

 

What about items such as: usb-storage, usb-ohci, usb-uhci ? Not really sure what they are, just have come across them in newsgroups.

Edited by RVDowning
Link to comment
Share on other sites

usbdevfs is a thing from the past... Devfs is not used anymore (completely replaced by udev).

 

Please try adding to your /etc/fstab a line like:

 

usbfs /proc/bus/usb usbfs defaults 0 0

 

...reboot, and see what happens.

 

Also, get sure your udev is functional, and the dbus and hal daemons are running.

Link to comment
Share on other sites

Well, I don't know what you mean by making sure my udev is functional. I see processes running called dbus-daemon-1 (2 instances) and dbus-launch. hald is also running. I made the change to fstab and rebooted and see nothing different. I don't have a /proc/bus/usb directory. Is there some log I should examine to see if there is anything different?

 

I did see the following in the boot log:

Mar 19 13:11:52 localhost haldaemon: haldaemon startup succeeded

Mar 19 13:11:52 localhost mount: mount: mount point /proc/bus/usb does not exist

Mar 19 13:11:52 localhost netfs: Mounting other filesystems: failed

Edited by RVDowning
Link to comment
Share on other sites

All of my bios settings are as they were when everything worked fine. I have a feeling the reason things have stopped working is related to having done updates.

 

I think it is about reinstall time, but it takes so long to get the system back right again, that I'm considering going back to the "Dark Side." At least stuff works over there.

 

What harddrake deamon are you suggesting I run? Please give the specific command.

Link to comment
Share on other sites

harddrake is running and starts on boot. Thee is nothing in MCC under services that calls itself "hotplug". The only thing with the word "plug" in it is netplugd which is stopped, and not brought up on boot. The info button for this says it is a daemon for managing non-static network interfaces.

 

By the way, on my buddy's system (also Mandriva 2006) on which all of this same stuff works fine, there is no line in his fstab related to usb.

Link to comment
Share on other sites

My suggestion about adding the usb-related line was because your lsmod showed absolutely nothing USB-related loaded... That line is not really needed after kernel revision 2.6.10 or so.

If you happen to have a file named /etc/udev/rules.d/udev.rules then please open it with a texteditor and paste here whatever is included and refers to USB devices.

Link to comment
Share on other sites

You have no usb modules loading as has been noted before. IMHO you can fool around with fstab and udev all day and you'll get nowhere without the basic usb modules loaded. Check out your /etc/modprobe.conf file. It should have a line that looks like this:

 

install usb-interface /sbin/modprobe uhci-hcd; /sbin/modprobe ehci-hcd; /bin/true

 

If not add the above line and reboot.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...