PDA

View Full Version : Mouse / Lilo not working on the 3rd drive



Joninator
07-22-2003, 10:59 PM
WHen I did the hard drive install of Knoppix; at the point where it installs Lilo. It says this drive is not the first drive or something. Is there a way to install it on the drive with WinXP (my disk drive 1). I have Linux installed onto drive3 and winxp on drive 1. Anyone else having problems with USB devices with this latest version of Knoppix? Previous versions are a lot better I find.

rickenbacherus
07-22-2003, 11:59 PM
WHen I did the hard drive install of Knoppix; at the point where it installs Lilo. It says this drive is not the first drive or something. Is there a way to install it on the drive with WinXP (my disk drive 1).

In Linux this drive is /dev/hda and yes it is possible.


I have Linux installed onto drive3 and winxp on drive 1.

And drive 3 is /dev/hdc assuming you have it on the Secondary master.


Anyone else having problems with USB devices with this latest version of Knoppix? Previous versions are a lot better I find.

Nope- what USB devices in particular? It's kind of hard to trouble shoot without detailed info. Post your /etc/lilo.conf file please.

Joninator
07-23-2003, 12:41 AM
I'm not worry about Lilo right now. I'm more concern with the mouse not working. I have a MS Wireless Optical Mouse. It worked fine on the older version of Knoppix (Can't remember which version).

Here's my system specs:

AMD Athlon 1800+
MSI KT3 Ultra ARU motherboard
ATI Radeon All In Wonder
512 MB of DDR
Maxtor 30GB HD
2 Maxtor 40GB HD
LG 32x10x40x16 CDRW/DVD
LG 52x CDROM
USB1.1
USB2

rickenbacherus
07-23-2003, 01:03 AM
Oh ok- well then post lspci -v and lsmod

Have you tried both USB 1.1 & 2.0? Do lsmod before connecting your mouse and after connecting your mouse and see if any new modules show up. Also have a look in /var/log/syslog

Weird that USB worked before but it doesn't now.

Joninator
07-23-2003, 01:17 AM
WHen I unplug the cable, Linux can detect that something been unplugged and when I plug it back in it knows that something has been plugged in, but it won't let my mouse move. :(

Joninator
07-23-2003, 07:18 PM
OK Here are more details:

When I unplug the mouse it says something has been disconnected. WHen I plug it back in it gives me the following messages:
------------------------------------
new usb device 00:11/2-1, assigned address 3

usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout

usb.c: failed to set device 3 default configuration (error=-110)

I tried lsmod and gives me this about the mouse.input device:

mousedev (unused)
hid (unused)
input [mousedev hid]

rickenbacherus
07-23-2003, 07:44 PM
The only thing i can find that may relate to your problem is the following from the Knoppix mailing list. I hope this is of some use to you.



> Perhaps somebody can give us a short explanation what the
/proc/bus/usb=
=20
> mounting is used for and when.
It seems nobody knows what it means exactly... or what is it used
for...
If anyone knows (even a bit) things about that, it would be great to
have t=
he small explanation.

Regards,
Ludo




The following is from the help text in the kernel configuration:

---------------------------------------------------------------------
Preliminary USB device filesystem

CONFIG_USB_DEVICEFS:

If you say Y here (and to "/proc file system support"
below), you
will get a file /proc/bus/usb/devices which lists the devices
currently connected to your USB busses, a file /proc/bus/usb/drivers
which lists the USB kernel client drivers currently loaded, and for
every connected device a file named
"/proc/bus/usb/xxx/yyy", where
xxx is the bus number and yyy the device number; the latter files
can be used by user space programs to talk directly to the device.
These files are "virtual", meaning they are generated on
the fly
and not stored on the hard drive.

For the format of the /proc/bus/usb/ files, please read
Documentation/usb/proc_usb_info.txt.

Please note that this code is completely unrelated to devfs, the
"/dev file system support".

Most users want to say Y here.
---------------------------------------------------------------------

So usbdevfs is necessary for some userspace tools to get usb info
(usbview, lsusb, ...) and for usb drivers running in userspace. It
isn't
needed for drivers in kernelspace like usb-storage and such.

If you are using a knx-hdinstall'd version of a recent Knoppix, there
might be a bug in /etc/init.d/hotplug. The script exits too early and
does not run all hotplug .rc scripts, including mounting usbdevfs.
At least Knoppix 3.2 2003-05-03 has this bug. You can try changing the
script to:

[...]
start)
echo -n "Starting hotplug subsystem:"
if [ "$runlevel" = "S" ]; then
touch /etc/nohotplug
# elif grep -q "^/sbin/hotplug$"
/proc/sys/kernel/hotplug; then
# # but, pending hotplug action will be executed
# rm -f /etc/nohotplug
# echo ".... already started. process pending events."
# exit 0
fi
echo /sbin/hotplug > /proc/sys/kernel/hotplug
[...]

bye,
Chris
--
Christian Perle perle@itm.tu-clausthal.de