USB hotpluging doesn't work once I compile 9.2 kernel.
![](https://seccdn.libravatar.org/avatar/498d495748c1c93a19bf1b7e41ed88f5.jpg?s=120&d=mm&r=g)
Hello All, I am having a problem to the get the usb hotpluging to work once I compile the kernel. If I plug in my USB key and boot SuSE using the default kernel (2.6.8-24-smp in my case - from a default v9.2 installation) and look under "My computer" I get/see this: USB Hard Disc (/dev/sda1) => file:/media/usb-688856163E518EBE:0:0:0p1 Unmounted ################ Once mounted! Everything (even my external usb cd burner) works great. However when I compile the SuSe kernel the usb key (e.g. /dev/sdaX partitions) no longer mount automatically. Does anyone else have this problem or is this just me ? In both cases (default kernel or compiled kernel) I can still see my usb partitions: Disk /dev/sda: 131 MB, 131989504 bytes 5 heads, 51 sectors/track, 1010 cylinders Units = cylinders of 255 * 512 = 130560 bytes Device Boot Start End Blocks Id System /dev/sda1 1 1010 128749+ b W95 FAT I know that I can mount /dev/sda1 from the command line but I want get the "hotplug" to work properly like this: USB Hard Disc (/dev/sda1) => file:/media/usb-688856163E518EBE:0:0:0p1 Does anyone know how to get the standard SuSE usb hotplug setup to work "normally" with a kernel that has been compiled? I don't think that I am missing a kernel option - I think that under SuSE 9.2 hotplugged devices work using shell scripts like the one below: linux:/etc/init.d # ls *hotplug* boot.hotplug DESCRIPTION : enables automatic initialisation of hotplugged devices I don't however understand what gives in this case however. If anyone has ever "been there and done that" I would greatly appreciate a few pointers. TIA James
![](https://seccdn.libravatar.org/avatar/8ce4efecf1119dcbfc03135ad33fee46.jpg?s=120&d=mm&r=g)
James PEARSON wrote:
Hello All,
I am having a problem to the get the usb hotpluging to work once I compile the kernel.
Did you forget to recompile the hotplug module? The process is straightforward. Download latest version of submount from http://sourceforge.net/project/showfiles.php?group_id=81174 then (with the new kernel running) $ tar zxvf submount-0.9.tar.gz $ cd submount-0.9/subfs-0.9 $ make $ su # make install -- JDL
![](https://seccdn.libravatar.org/avatar/067e5d0b8bad5213e476ae53bc7214b9.jpg?s=120&d=mm&r=g)
a few days ago i changed to firefox as the default htm/html application. I figured that i use it most of the time, actually firefox "told" me a few times that "it was" the default browser, but every time i had clicked on a kmail link up came konqueror! That was *before* i changed the default htm / html app thru control center. Now firefox comes up when a link is clicked in kmail, BUT, it often picks up some garbage from /var/tmp/kdecache with a new unrelated number to a numbered scene! This was tried at least 10x. Most links failed initially. When the link was copied from kmail and pasted to firefox, everything worked great. I think firefox just looks in the wrong place for the html, any easy way of changing that? thanks!
![](https://seccdn.libravatar.org/avatar/c18a749dda699514c262030be9e0ded9.jpg?s=120&d=mm&r=g)
On Wednesday 08 December 2004 02:22, plain wrote:
a few days ago i changed to firefox as the default htm/html application. I figured that i use it most of the time, actually firefox "told" me a few times that "it was" the default browser, but every time i had clicked on a kmail link up came konqueror! That was *before* i changed the default htm / html app thru control center. Now firefox comes up when a link is clicked in kmail, BUT, it often picks up some garbage from /var/tmp/kdecache with a new unrelated number to a numbered scene! This was tried at least 10x. Most links failed initially. When the link was copied from kmail and pasted to firefox, everything worked great. I think firefox just looks in the wrong place for the html, any easy way of changing that? thanks!
you should use in control center: firefox %u then konqueror will pass the actual link. Sunny -- Get Firefox http://www.spreadfirefox.com/?q=affiliates&id=10745&t=85
![](https://seccdn.libravatar.org/avatar/498d495748c1c93a19bf1b7e41ed88f5.jpg?s=120&d=mm&r=g)
Thank you for taking the time to respond. You were right - I hadn't installed the latest version of submount. I download and installed it. Thanks for the tip. submount-0.9.tar.gz seems more oriented towards reading CD's and floppies but it definitely gives me something to work on and to research. My goal is to be able to strip down my ***fat*** SuSE kernel while at the same time keeping my usb key "plug and play" under a normal "user". Easier to say than to do. BWT, submount exists on the SuSE 9.2 CDs as km_submount - Automounting of Removable Media Submount is a system for automatically mounting and unmounting removable media drives, like CD-ROMs and floppy disk drives. Once installed, it allows removable media drives to be accessed as if they were permanently mounted. One last note. After installing submount-0.9.tar.gz I still couldn't write to my usb key under my newly compiled kernel. I added this to /etc/fstab as a start. It is not perfect but it appears to be a workable solution. /dev/sda1 /usb vfat users,gid=users,umask=0002,iocharset=utf8 0 0 Thanks for your help again. Regards, James On Wed, 2004-12-08 at 07:56 +0000, John Lamb wrote:
James PEARSON wrote:
Hello All,
I am having a problem to the get the usb hotpluging to work once I compile the kernel.
Did you forget to recompile the hotplug module?
The process is straightforward. Download latest version of submount from http://sourceforge.net/project/showfiles.php?group_id=81174 then (with the new kernel running) $ tar zxvf submount-0.9.tar.gz $ cd submount-0.9/subfs-0.9 $ make $ su # make install
-- JDL
participants (4)
-
James PEARSON
-
John Lamb
-
plain
-
Sunny