Ehlo. :-) Quite recently I bought a usb mouse, when my old PS/2 Genius broke down. I decided to buy a cordless mouse, for the sake of convenience. Unfortunately, they don't seem to make ps/2 mice with all those cool features, so I was forced to choose a usb model. It is a Media-Tech Optix RF Pro, but obviously that's just a name given to it by Media-Tech after purchasing its electronics from someone else, acrox probably (see below what makes me think so). I figured - usb devices have a common protocol (was I mistaken?) so what bad can happen - it probably will run under Linux. The mouse has 5 buttons and a bidirectional scroll in a form similar to a trackball. At first I used the included ps/2 converter as to avoid any possible problems with usb, but that caused problems - the mouse would often remain undetected during bootup so it didn't work under Linux OR Win. A soft reboot almost always helped. So what I do now is wait for LILO to appear, then do ^-M-Del (shows ESCD update....success), wait for LILO again and boot into whatever I wish and the mouse works. Quite irritating though, because the mouse has a tendency towards jumping into that uninitialized mode during other reboots sometimes. So I tried to plug it into my usb port. Well, my darkest fears turned out to be the truth. Win works just fine with it (although I am not sure if that'd be the case if I had not installed the drivers) but I can't get it to work under Linux. At first I tried it with 2.4.22, all necessary modules included, but got absolutely no output from /dev/input/mice, nor did gpm or X work. Then I converted to 2.6.3 (and a terrible pain this is, took a lot of effort), and surprise, it still doesn't work. Below are the logs. I have compiled in the following modules: Support for USB, EHCI HCD, UHCI HCD, USB Human Interface Device, HID input layer (yes, I also have CONFIG_INPUT=y)
[EMAIL PROTECTED] root]# lspci -v [...] 00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 1a) (prog-if 00 [UHCI]) Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller Flags: bus master, medium devsel, latency 32, IRQ 3 I/O ports at d800 [size=32] Capabilities: [80] Power Management version 2 00:07.3 USB Controller: VIA Technologies, Inc. USB (rev 1a) (prog-if 00 [UHCI]) Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller Flags: bus master, medium devsel, latency 32, IRQ 3 I/O ports at dc00 [size=32] Capabilities: [80] Power Management version 2 [EMAIL PROTECTED] root]# dmesg [...] drivers/usb/core/usb.c: registered new driver usbfs drivers/usb/core/usb.c: registered new driver hub ehci_hcd: block sizes: qh 128 qtd 96 itd 192 sitd 64 drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1 uhci_hcd 0000:00:07.2: UHCI Host Controller uhci_hcd 0000:00:07.2: irq 3, io base 0000d800 uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1 drivers/usb/host/uhci-hcd.c: detected 2 ports uhci_hcd 0000:00:07.2: root hub device address 1 usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1 drivers/usb/core/message.c: USB device number 1 default language ID 0x409 usb usb1: Product: UHCI Host Controller usb usb1: Manufacturer: Linux 2.6.3 uhci_hcd usb usb1: SerialNumber: 0000:00:07.2 drivers/usb/core/usb.c: usb_hotplug usb usb1: registering 1-0:1.0 (config #1, interface 0) drivers/usb/core/usb.c: usb_hotplug hub 1-0:1.0: usb_probe_interface hub 1-0:1.0: usb_probe_interface - got id hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected hub 1-0:1.0: standalone hub hub 1-0:1.0: ganged power switching hub 1-0:1.0: global over-current protection hub 1-0:1.0: Port indicators are not supported hub 1-0:1.0: power on to power good time: 2ms hub 1-0:1.0: hub controller current requirement: 0mA hub 1-0:1.0: local power source is good hub 1-0:1.0: no over-current condition exists hub 1-0:1.0: enabling power on all ports uhci_hcd 0000:00:07.3: UHCI Host Controller uhci_hcd 0000:00:07.3: irq 3, io base 0000dc00 uhci_hcd 0000:00:07.3: new USB bus registered, assigned bus number 2 drivers/usb/host/uhci-hcd.c: detected 2 ports uhci_hcd 0000:00:07.3: root hub device address 1 usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1 drivers/usb/core/message.c: USB device number 1 default language ID 0x409 usb usb2: Product: UHCI Host Controller usb usb2: Manufacturer: Linux 2.6.3 uhci_hcd usb usb2: SerialNumber: 0000:00:07.3 drivers/usb/core/usb.c: usb_hotplug usb usb2: registering 2-0:1.0 (config #1, interface 0) drivers/usb/core/usb.c: usb_hotplug hub 2-0:1.0: usb_probe_interface hub 2-0:1.0: usb_probe_interface - got id hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected hub 2-0:1.0: standalone hub hub 2-0:1.0: ganged power switching hub 2-0:1.0: global over-current protection hub 2-0:1.0: Port indicators are not supported hub 2-0:1.0: power on to power good time: 2ms hub 2-0:1.0: hub controller current requirement: 0mA hub 2-0:1.0: local power source is good hub 2-0:1.0: no over-current condition exists hub 2-0:1.0: enabling power on all ports hub 1-0:1.0: port 1, status 100, change 3, 12 Mb/s hub 1-0:1.0: port 2, status 100, change 3, 12 Mb/s hub 2-0:1.0: port 1, status 100, change 3, 12 Mb/s hub 2-0:1.0: port 2, status 100, change 3, 12 Mb/s hub 1-0:1.0: port 1 enable change, status 100 hub 1-0:1.0: port 2 enable change, status 100 hub 2-0:1.0: port 1 enable change, status 100 hub 2-0:1.0: port 2 enable change, status 100 drivers/usb/host/uhci-hcd.c: d800: suspend_hc drivers/usb/host/uhci-hcd.c: dc00: suspend_hc drivers/usb/core/usb.c: registered new driver hiddev drivers/usb/core/usb.c: registered new driver hid drivers/usb/input/hid-core.c: v2.0:USB HID core driver [EMAIL PROTECTED] root]# lsmod [...] hid 32896 0 uhci_hcd 32972 0 ehci_hcd 37828 0 usbcore 114652 5 hid,uhci_hcd,ehci_hcd evdev 9536 0 Now, I insert my mouse into any USB port... usb 1-1: new low speed USB device using address 2 usb 1-1: Product: Acrox RF Ball Mouse usb 1-1: Manufacturer: Acrox [cf01d270] link (0f01d1b2) element (0f140080) Element != First TD 0: [cf140040] link (0f140080) e3 LS Length=7 MaxLen=7 DT0 EndPt=0 Dev=2, PID=2d(SETUP) (buf=0ef09060) 1: [cf140080] link (0f1400c0) e3 LS Stalled Babble Length=0 MaxLen=0 DT1 EndPt=0 Dev=2, PID=69(IN) (buf=0ef09080) 2: [cf1400c0] link (00000001) e3 LS IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=2, PID=e1(OUT) (buf=00000000) drivers/usb/input/hid-core.c: ctrl urb status -75 received usb 1-1: control timeout on ep0out All seems to be working fine, maybe except for the last line, of which significance I am not quite sure. But cat on /dev/input/mouse0 or /dev/input/mice returns nothing after moving the mouse, so no wonder gpm and X don't work. A friend suggested that this could be due to a wrong kernel table entry that associates the device's id with a type and driver. It seemed to work for him to correct this table for a usb device he couldn't get to work (not a mouse anyway). He also suggested to try with a recent kernel first, so I did. Problem is I don't know where those tables can be found, what to look for, and if this could be the case. I'd greatly appreciate any help. cat /proc/bus/usb/devices gives just entries for the usb hubs. However, in /sys/bus/usb/devices/1-1 i found something which I think refers to my mouse. The files idVendor and idProduct contain 04b4 and 6370 respectively. One more curious detail - when the mouse is connected via the ps/2 converter and remains uninitialzed by the bios as I boot into linux, gpm of course doesn't work. But when I do modprobe psmouse, I get: input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1, and it works, but I need to move the mouse a mile just to make it move a bit on the screen. Any idea why? Thanks, democrux p.s. And please don't tell me I bought a piece of crap - I already know that. :-( p.s.2. Where is this list's FAQ? -- - Dariusz Szczepanek ************************ <[EMAIL PROTECTED]> - - http://censored.by.pwr.wroc.pl/ ***************** (+48)603547472 @ PlusGSM - - The Tao doesn't take sides; it gives birth to both wins and losses. - - The Guru doesn't take sides; she welcomes both hackers and lusers. - ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users