Home arrow Linux arrow General Linux arrow Legacy USB support in SuSE 10.2
Legacy USB support in SuSE 10.2 Print E-mail
Written by Jason   
Apr 20, 2007 at 11:16 AM

In SuSE 10.2, the decision was made to get away from the old, somewhat insecure USB file system (/proc/bus/usb, known as usbfs). The catch with this however is some applications, such as VMWare 5.x, do not use newer methods of USB connectivity. This article goes through the steps needed in SuSE 10.2 to recompile the kernel with legacy USB filesystem support.

The first thing we need is to make sure we have the necessary packages installed.

rpm -qa | grep kernel

This should come back with something similar to this:

linux-kernel-headers-2.6.18.2-3
kernel-source-2.6.18.8-0.1
kernel-syms-2.6.18.8-0.1
kernel-bigsmp-2.6.18.8-0.1

This will vary depending on which kernel you're using. The system I'm using for this article utilizes the bigsmp kernel. Whichever kernel you're using (uname -r to check), you need to make sure you have the kernel-sources and kernel-syms packages installed.

Now, run the following commands: 

cd /usr/src/linux
make cloneconfig
make menuconfig

Now we need to select the USB filesystem. This is under Device Drivers > USB Support. Highlight USB Device Filesystem and press Y. Press escape to get back to the opening menu and exit. Choose yes if it asks you if you want to save.

Now run the following command: 

make all && make modules_install && make install

This process  will take awhile depending on the speed of your computer. Once it's complete we need to edit your /etc/fstab file. Change the following line:

usbfs /proc/bus/usb usbfs noauto 0 0

To:

usbfs /proc/bus/usb usbfs defaults 0 0

Make sure to save the file. Now we just need to reboot with the newly compiled kernel:

reboot

That should be it. You can check once your system has rebooted by looking at the USB filesystem:

ll /proc/bus/usb

This command should come back without an error and display something similar to:

dr-xr-xr-x 2 root root 0 2007-04-19 10:54 001
dr-xr-xr-x 2 root root 0 2007-04-19 10:54 002
dr-xr-xr-x 2 root root 0 2007-04-19 10:54 003
dr-xr-xr-x 2 root root 0 2007-04-19 10:54 004
dr-xr-xr-x 2 root root 0 2007-04-19 10:54 005
-r--r--r-- 1 root root 0 2007-04-19 10:54 devices

That's it, enjoy your legacy USB support!

Did I miss anything? Let know. 

 

 

Last Updated ( Jun 29, 2007 at 10:13 PM )
� http://www.roboguys.com, Mambo and Designed by Siteground