LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   my USB - on or off? (https://www.linuxquestions.org/questions/linux-newbie-8/my-usb-on-or-off-50650/)

Squid 03-19-2003 10:33 AM

my USB - on or off?
 
Lo all
Not sure why im doing this to myself but I want to delete Win2k Server and begin to use Linux.

I am of course a newbie but can say this:
Running Slackware 8.1
Trying to enable USB in the kernel

Firstly do I need to do this enabling. After booting I typed
'dmesg | grep -i usb'
and it returned nothing.

This must be a simple thing but I dont know where to begin.

Thanks in advance
Squid
:newbie:

RolledOat 03-19-2003 11:19 AM

tail -f /var/log/messages

plug a USB device in (of course, turned on :)) and if you see it attach to a USB device, USB is active and configured properly.

Then, download replacement programs (example for the PDA/Printer/Digicam/etc you want to use) and try them out

RO

Squid 03-19-2003 11:52 AM

Cheers :)

The 'tail -f /var/logs/messages' showed me that usb was not active.

So I then did 'modprobe usb-ohci' and 'mount -t usbdevfs none /proc/bus/usb' (from another thread) and then the above tail line.

This is good and what I wanted but after rebooting the usb stuff that had been added was no longer there.

Is there a method where I dont need to go through this procedure when the machine is started

Thanks Again

RolledOat 03-19-2003 02:27 PM

I am not that familiar with Slack, however, there is likely a script in /etc/rc.d called rc.local

This is where I added my custom joystick modprobe/settings. It is the last script to run after system initializes based on your runlevel.

Put the commands that made USB work there, and you should be good to go.

RO.


All times are GMT -5. The time now is 02:51 AM.