you can use mount -t usbdevfs 0 /proc/bus/usb for getting the usb info. For these you need to include( either as a loadable module or part of kernal image) usb-core hosts usb filesystem and other things, which depends on what device you are using.
It is not clear, what you are trying to do.
Regards,
Sreekumar CM
[EMAIL PROTECTED]
Sent by: To:
[EMAIL PROTECTED]
[EMAIL PROTECTED] cc: (bcc:
Sreekumar CM/SGP/SC/PHILIPS)
ceforge.net Subject:
[Linux-usb-users] usb system set up...
Classification:
06/27/2002 09:58 AM
First of all, I'm sorry that I'm bad at English.
usb core must be compiled modules?
Can be it included in kernel?
I install /sbin/modprobe.
But my ramdisk image don't have proper file in /lib/modules/..
And I install hotplug.
http://linux-hotplug.sourceforge.net/
(1) Extract everything into a temporary directory, and make
that be the working directory for your root shell.
(2) Install the "/sbin/hotplug" script:
# cp sbin/hotplug /sbin/hotplug
(3) Populate the "/etc/hotplug" directory:
# mkdir -p /etc/hotplug
# cp -r etc/hotplug/* /etc/hotplug
(4) Make the directory in /var/run for use remove support:
# mkdir -p /var/run/usb
# chmod 700 /var/run/usb
(5) Make your system start hotplugging (and maybe coldplugging,
if you installed the right usb and pci utilities) after it's
booted and filesystems are mounted. On RedHat systems:
# cp etc/rc.d/init.d/hotplug /etc/rc.d/init.d/hotplug
# cd /etc/rc.d/init.d
# chkconfig --add hotplug
But my system doesn't recognize to usb.
It doesn't /proc/bus/usb exist.
I don't know.
please... help me..
sogang univ. electronic engineering
SPS Lab. and MIRC
Tel. 02.707.3007
Fax. 02.707.3008
(Embedded image moved to file: pic14798.gif)
pic14798.gif
Description: GIF image
