Subj : Slackware 10.0 USB Hotplug Problem To : comp.os.linux From : a.nuzzo Date : Mon Sep 06 2004 08:32 am I am having a problem getting the USB hotplug to work for my digital camera (Minolta F300 - usb storage). I am running Slackware 10.0. It worked fine with the default kernel (2.4.26) but when I upgraded to the 2.6.7 kernel that comes with Slackware it would no longer detect the camera when it is attached. Also, it does not show up if I do an lsusb or show up in procs. If I attach the camera and turn it on and then start the computer it will find it and will mount without any problems. It will also show up in lsusb and in procs. If you unmount the camera and turn it off it will detect that the camera is no longer there. But if I then turn it back on it will not find the camera. Hotplug is turned on in the kernel (CONFIG_HOTPLUG=y). To get sound to work I had to add modules to the blacklist so I think hotplug is functional but trying the same for USB modules did not make a difference. Here are some of the settings in the blacklist that I tried: # uhci ... usb-uhci handles the same pci class usb-uhci #usbcore ... module is loaded implicitly, ignore it otherwise usbcore usb_storage uhci-hdc ehci-hdc ohci-hdc Here is the output from lsmod: root@rpc1:~# lsmod Module Size Used by ppp_async 9664 1 ppp_generic 24788 5 ppp_async slhc 6720 1 ppp_generic ipv6 226720 12 snd_pcm_oss 53096 0 snd_mixer_oss 19712 1 snd_pcm_oss snd_cmipci 32196 0 snd_pcm 88648 2 snd_pcm_oss,snd_cmipci snd_page_alloc 9416 1 snd_pcm snd_opl3_lib 10496 1 snd_cmipci snd_timer 24260 2 snd_pcm,snd_opl3_lib snd_hwdep 9476 1 snd_opl3_lib snd_mpu401_uart 7808 1 snd_cmipci snd_rawmidi 23396 1 snd_mpu401_uart snd_seq_device 7816 2 snd_opl3_lib,snd_rawmidi snd 52132 10 snd_pcm_oss,snd_mixer_oss,snd_cmipci,snd_pcm,sn d_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device soundcore 7392 1 snd uhci_hcd 29264 0 ehci_hcd 26116 0 nvidia_agp 5852 1 ohci_hcd 18756 0 nvidia 4820500 12 evdev 7296 0 3c59x 35368 0 usb_storage 64320 0 agpgart 27624 1 nvidia_agp If the system is started with the camera on, usb_storage will show up in lsmod but it does not show up if I try to attach the camera once the system is on. Also I have also tried manually loading usb-storage (it seems to load without any problems) and then attaching the camera it will not see the camera. I tried modifying the /etv/rc.d/rc.modules file so that usb-storge will be loaded at startup. It will load usb-storage and show up in lsmod but it still will not find the camera. I have tried a several different aliases on modprob.conf. alias usbdevfs usbcore #alias usb-controller usb-hdc alias usb-controller uhci-hdc alias usb-controller1 ehci-hdc alias usb-controller2 ohci-hdc Since it works fine if I attach the camera and the turn on the system I am thinking it must be something with the hotplug configuration but I don't know what else to try. Any ideas what I may be overlooking? Thanks for any help, Art .