I already posted that my Creative USB optical mouse
does not work in linux. I have been trying to debug
it my self dispite my lack of kernel source and usb
knowledge.
I managed to borrow a Packard Bell USB optical mouse
which works fine in linux. So in summery
The Creative mouse:
-works on this machine in windows
(as generic HID device)
-works on other computers
(in windows, other linux boxes not available)
-does not work on this machine in linux
The Packard Bell mouse
-Works in all cases (inc linux)
I enabled verbose messages for usb, and passed
loglevel=8 to kernel (still 2.6.0-test3 as in last
email to list).
Also I edited core/usb.c and commented out:
if (dev->descriptor.bNumConfigurations != 1) {
on line 1'093 in function usb_new_device()
(and took out matching } obviously)
so that the dev_info message in there would
always show.
note configuration chosen for the two mice,
I tried hard coding it to 1 for the creative,
just screwed things, I had to reboot.
DMESG:
#Creative Mouse Connect:
drivers/usb/host/uhci-hcd.c: b400: wakeup_hc
hub 1-0:0: port 2, status 301, change 1, 1.5 Mb/s
hub 1-0:0: debounce: port 2: delay 100ms stable 4 status 0x301
hub 1-0:0: new USB device on port 2, assigned address 7
usb 1-2: configuration #0 chosen from 1 choices
drivers/usb/core/message.c: selecting invalid configuration 0
usb 1-2: failed to set device 7 default configuration (error=-22)
hub 1-0:0: new USB device on port 2, assigned address 8
usb 1-2: configuration #0 chosen from 1 choices
drivers/usb/core/message.c: selecting invalid configuration 0
usb 1-2: failed to set device 8 default configuration (error=-22)
#Disconnect:
hub 1-0:0: port 2, status 300, change 3, 1.5 Mb/s
hub 1-0:0: port 2 enable change, status 300
drivers/usb/host/uhci-hcd.c: b400: suspend_hc
#Packard Bell Mouse Connect:
drivers/usb/host/uhci-hcd.c: b400: wakeup_hc
hub 1-0:0: port 2, status 301, change 1, 1.5 Mb/s
hub 1-0:0: debounce: port 2: delay 100ms stable 4 status 0x301
hub 1-0:0: new USB device on port 2, assigned address 2
usb 1-2: configuration #1 chosen from 1 choices
usb 1-2: new device strings: Mfr=0, Product=0, SerialNumber=0
drivers/usb/core/usb.c: usb_hotplug
usb 1-2: usb_new_device - registering interface 1-2:0
drivers/usb/core/usb.c: usb_hotplug
hid 1-2:0: usb_probe_interface
hid 1-2:0: usb_probe_interface - got id
input: USB HID v1.00 Mouse [1241:1111] on usb-0000:00:04.2-2
#Disconnect:
hub 1-0:0: port 2, status 300, change 3, 1.5 Mb/s
usb 1-2: USB disconnect, address 2
drivers/usb/core/message.c: nuking URBs for device 1-2
uhci-hcd 0000:00:04.2: shutdown urb e34365c0 pipe 40408280 ep1in-intr
usb 1-2: unregistering interfaces
usb 1-2: hcd_unlink_urb e34365c0 fail -22
usb 1-2: hcd_unlink_urb e3436540 fail -22
usb 1-2: hcd_unlink_urb e34365c0 fail -22
drivers/usb/core/usb.c: usb_hotplug
usb 1-2: unregistering device
drivers/usb/core/usb.c: usb_hotplug
hub 1-0:0: port 2 enable change, status 300
drivers/usb/host/uhci-hcd.c: b400: suspend_hc
Also here is /proc/bus/usb/device not given in last email.
Nothing connect (creative wont even show if it was connected)
CAT USB devices:
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 11/900 us ( 1%), #Int= 1, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.0-test3 uhci-hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:04.3
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 4
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=058f ProdID=9254 Rev= 1.00
S: Manufacturer=ALCOR
S: Product=Generic USB Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.0-test3 uhci-hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:04.2
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
It would be nice to know if any one looking at this, or whether
its going to all your /dev/null =)
I am happy to give more feedback if asked.
Thanx, especially if it gets fixed =)
-TJ
Here is copy of last email:
http://article.gmane.org/gmane.linux.usb.devel/13856
_____________________________________________________________
Thank you for choosing LinuxQuestions.
http://www.linuxquestions.org
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel