LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-12-2010, 06:08 PM   #1
nathank0
LQ Newbie
 
Registered: Jul 2009
Posts: 8

Rep: Reputation: 0
mouse on PS/2 to USB adapter won't initialize


I have a PS/2 mouse, a PS/2 to USB adapter, and a USB port on my Dell Inspiron 1100 laptop. The adapter has trouble initializing, whether I have it plugged in at boot time or I plug it in later. Sometimes it initializes okay, but usually it doesn't. That means that I have to keep unplugging it and plugging it back in until it initializes. Sometimes it just works; sometimes it works after a few plugs, but sometimes after plugging it in a few dozen times I give up. Once it is initialized, it works fine until I shut down. Also, once it works, I can unplug it and plug it back in, and it will initialize properly each time from then on.

/var/log/syslog contains the following each time I boot or plug it in and it does not initialize:
Code:
Aug  3 10:26:05 corkscrew kernel: [  212.188063] usb 1-1: new low speed USB device using uhci_hcd and address 10
Aug  3 10:26:05 corkscrew kernel: [  212.312046] usb 1-1: device descriptor read/64, error -71
Aug  3 10:26:06 corkscrew kernel: [  212.540052] usb 1-1: device descriptor read/64, error -71
Aug  3 10:26:06 corkscrew kernel: [  212.756052] usb 1-1: new low speed USB device using uhci_hcd and address 11
Aug  3 10:26:06 corkscrew kernel: [  212.876045] usb 1-1: device descriptor read/64, error -71
Aug  3 10:26:06 corkscrew kernel: [  213.100044] usb 1-1: device descriptor read/64, error -71
Aug  3 10:26:06 corkscrew kernel: [  213.316052] usb 1-1: new low speed USB device using uhci_hcd and address 12
Aug  3 10:26:07 corkscrew kernel: [  213.724041] usb 1-1: device not accepting address 12, error -71
Aug  3 10:26:07 corkscrew kernel: [  213.848951] usb 1-1: new low speed USB device using uhci_hcd and address 13
Aug  3 10:26:07 corkscrew kernel: [  214.260044] usb 1-1: device not accepting address 13, error -71
Aug  3 10:26:07 corkscrew kernel: [  214.260083] hub 1-0:1.0: unable to enumerate USB device on port 1
/var/log/syslog contains the following each time I plug it in and it DOES initialize and start working:
Code:
Aug 11 09:43:28 corkscrew kernel: [  417.308059] usb 2-1: new low speed USB device using uhci_hcd and address 50
Aug 11 09:43:29 corkscrew kernel: [  417.480136] usb 2-1: configuration #1 chosen from 1 choice
Aug 11 09:43:29 corkscrew kernel: [  417.492702] usb 2-1: New USB device found, idVendor=13ba, idProduct=0017
Aug 11 09:43:29 corkscrew kernel: [  417.492719] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
Aug 11 09:43:29 corkscrew kernel: [  417.492724] usb 2-1: Product: Generic USB K/B
Aug 11 09:43:29 corkscrew NetworkManager: <debug> [1281534209.182051] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial'). 
Aug 11 09:43:29 corkscrew kernel: [  417.727035] usbcore: registered new interface driver hiddev
Aug 11 09:43:29 corkscrew kernel: [  417.741920] input: Generic USB K/B as /class/input/input9
Aug 11 09:43:29 corkscrew kernel: [  417.744157] input,hidraw0: USB HID v1.10 Keyboard [Generic USB K/B] on usb-0000:00:1d.1-1
Aug 11 09:43:29 corkscrew kernel: [  417.761061] input: Generic USB K/B as /class/input/input10
Aug 11 09:43:29 corkscrew kernel: [  417.762722] input,hidraw1: USB HID v1.10 Mouse [Generic USB K/B] on usb-0000:00:1d.1-1
Aug 11 09:43:29 corkscrew kernel: [  417.762780] usbcore: registered new interface driver usbhid
Aug 11 09:43:29 corkscrew kernel: [  417.762789] usbhid: v2.6:USB HID core driver
Aug 11 09:43:29 corkscrew NetworkManager: <debug> [1281534209.489390] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial_if0').
Aug 11 09:43:29 corkscrew NetworkManager: <debug> [1281534209.696054] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial_if1').
Aug 11 09:43:29 corkscrew NetworkManager: <debug> [1281534209.716573] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial_usbraw').
Aug 11 09:43:29 corkscrew NetworkManager: <debug> [1281534209.827578] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial_if0_logicaldev_input').
Aug 11 09:43:29 corkscrew NetworkManager: <debug> [1281534209.835714] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial_if1_logicaldev_input').
Actually, most of the time when it does initialize, it does so in two stages. After the first stage, the mouse does not yet work. Then if I unplug it and plug it back in, it will fully initialize and the mouse will work. Here is /var/log/syslog for this scenario, in three parts:

Part 1:
Code:
Aug  3 10:26:26 corkscrew kernel: [  232.745562] usb 1-1: new low speed USB device using uhci_hcd and address 18
Aug  3 10:26:26 corkscrew kernel: [  232.868056] usb 1-1: device descriptor read/64, error -71
Aug  3 10:26:26 corkscrew kernel: [  233.096046] usb 1-1: device descriptor read/64, error -71
Aug  3 10:26:26 corkscrew kernel: [  233.312051] usb 1-1: new low speed USB device using uhci_hcd and address 19
Aug  3 10:26:27 corkscrew kernel: [  233.432574] usb 1-1: device descriptor read/64, error -71
Aug  3 10:26:27 corkscrew kernel: [  233.656045] usb 1-1: device descriptor read/64, error -71
Aug  3 10:26:27 corkscrew kernel: [  233.872045] usb 1-1: new low speed USB device using uhci_hcd and address 20
Aug  3 10:26:27 corkscrew kernel: [  234.124014] usb 1-1: configuration #1 chosen from 1 choice
Aug  3 10:26:27 corkscrew kernel: [  234.141161] usb 1-1: New USB device found, idVendor=13ba, idProduct=0017
Aug  3 10:26:27 corkscrew kernel: [  234.141179] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
Aug  3 10:26:27 corkscrew kernel: [  234.141184] usb 1-1: Product: Generic USB K/B
Aug  3 10:26:27 corkscrew NetworkManager: <debug> [1280845587.803305] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_13b
a_17_noserial').
Aug  3 10:26:28 corkscrew kernel: [  234.383563] usbcore: registered new interface driver hiddev
Aug  3 10:26:28 corkscrew kernel: [  234.397670] input: Generic USB K/B as /class/input/input9
Aug  3 10:26:28 corkscrew kernel: [  234.397671] input,hidraw0: USB HID v1.10 Keyboard [Generic USB K/B] on usb-0000:00:1d.0-1
Aug  3 10:26:28 corkscrew kernel: [  234.417137] input: Generic USB K/B as /class/input/input10
Aug  3 10:26:28 corkscrew kernel: [  234.418865] input,hidraw1: USB HID v1.10 Mouse [Generic USB K/B] on usb-0000:00:1d.0-1
Aug  3 10:26:28 corkscrew kernel: [  234.418915] usbcore: registered new interface driver usbhid
Aug  3 10:26:28 corkscrew kernel: [  234.418924] usbhid: v2.6:USB HID core driver
Aug  3 10:26:28 corkscrew NetworkManager: <debug> [1280845588.129587] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial_if0').
Aug  3 10:26:28 corkscrew NetworkManager: <debug> [1280845588.306108] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial_if1').
Aug  3 10:26:28 corkscrew NetworkManager: <debug> [1280845588.333950] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial_usbraw').
Aug  3 10:26:28 corkscrew NetworkManager: <debug> [1280845588.502571] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial_if0_logicaldev_input').
Aug  3 10:26:28 corkscrew NetworkManager: <debug> [1280845588.510829] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial_if1_logicaldev_input').
Part 2: Then, because the mouse was not working yet, I unplugged it, yielding:
Code:
Aug  3 10:26:48 corkscrew kernel: [  254.600079] usb 1-1: USB disconnect, address 20
Aug  3 10:26:48 corkscrew NetworkManager: <debug> [1280845608.246813] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial_if0_logicaldev_input').
Aug  3 10:26:48 corkscrew NetworkManager: <debug> [1280845608.260246] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial_if0').
Aug  3 10:26:48 corkscrew NetworkManager: <debug> [1280845608.277406] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial_if1_logicaldev_input').
Aug  3 10:26:48 corkscrew NetworkManager: <debug> [1280845608.290592] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial_if1').
Aug  3 10:26:48 corkscrew NetworkManager: <debug> [1280845608.300748] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial_usbraw').
Aug  3 10:26:48 corkscrew NetworkManager: <debug> [1280845608.307873] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial').
Part 3: Then I plugged it in again:
Code:
Aug  3 10:26:55 corkscrew kernel: [  261.904044] usb 2-1: new low speed USB device using uhci_hcd and address 14
Aug  3 10:26:55 corkscrew kernel: [  262.076142] usb 2-1: configuration #1 chosen from 1 choice
Aug  3 10:26:55 corkscrew kernel: [  262.101920] input: Generic USB K/B as /class/input/input11
Aug  3 10:26:55 corkscrew NetworkManager: <debug> [1280845615.741980] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial').
Aug  3 10:26:55 corkscrew kernel: [  262.124213] input,hidraw0: USB HID v1.10 Keyboard [Generic USB K/B] on usb-0000:00:1d.1-1
Aug  3 10:26:55 corkscrew kernel: [  262.141427] input: Generic USB K/B as /class/input/input12
Aug  3 10:26:55 corkscrew kernel: [  262.180189] input,hidraw1: USB HID v1.10 Mouse [Generic USB K/B] on usb-0000:00:1d.1-1
Aug  3 10:26:55 corkscrew kernel: [  262.180398] usb 2-1: New USB device found, idVendor=13ba, idProduct=0017
Aug  3 10:26:55 corkscrew kernel: [  262.180403] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
Aug  3 10:26:55 corkscrew kernel: [  262.180408] usb 2-1: Product: Generic USB K/B
Aug  3 10:26:56 corkscrew NetworkManager: <debug> [1280845616.034678] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial_if0').
Aug  3 10:26:56 corkscrew NetworkManager: <debug> [1280845616.252022] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial_if1').
Aug  3 10:26:56 corkscrew NetworkManager: <debug> [1280845616.291162] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial_usbraw').
Aug  3 10:26:56 corkscrew NetworkManager: <debug> [1280845616.298553] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial_if0_logicaldev_input').
Aug  3 10:26:56 corkscrew NetworkManager: <debug> [1280845616.318829] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_13ba_17_noserial_if1_logicaldev_input').
(Note on the port numbering in part 3, above: I have two USB ports, and in the scenario logged here I plugged it into a different port than I unplugged it from, but experience has shown that that makes no difference. More to the point, the adapter already partially initialized, in part 1. Whenever that happens, it always fully initializes the next time I plug it in. The hard part is achieving ANY initialization in the first place.)

lsusb shows nothing when the adapter fails initialization:
Code:
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Running Debian Lenny with kernel 2.6.26-2-686

Is this squirrely behavior simply the nature of PS/2-to-USB adapters? What can I do to make it more reliable? Thanks for any help.
 
Old 08-12-2010, 07:59 PM   #2
zootboy
Member
 
Registered: Nov 2008
Location: In a dumpster, with my laptop.
Distribution: Fedora
Posts: 124

Rep: Reputation: 25
Have you considered that it may be the adapter itself may be dying? Have you tried it in any other PCs? Have you tried any other adapters on this PC?

You may want to google the specific model of adapter that you have to see if it has known issues in linux. I've seen an issue in Ubuntu with similar symptoms, but it occurred with almost all USB devices plugged into the system.
 
1 members found this post helpful.
Old 08-16-2010, 09:29 AM   #3
nathank0
LQ Newbie
 
Registered: Jul 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Ah yes, good old-fashioned hardware debugging - why didn't I think of that. Indeed, the adapter is inoperational in the Macs that I tried. So the problem is probably just good old-fashioned cheap components that don't work.

Last edited by nathank0; 08-16-2010 at 09:32 AM. Reason: ambiguous language
 
Old 08-17-2010, 01:23 PM   #4
zootboy
Member
 
Registered: Nov 2008
Location: In a dumpster, with my laptop.
Distribution: Fedora
Posts: 124

Rep: Reputation: 25
Lol, it's always the obvious things that escape us. I fall victim to over-thinking problems all the time.
 
  


Reply

Tags
adapter, ps2, usb



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PS/2 Mouse on USB system - Adapter? Oxagast Linux - Hardware 1 06-02-2006 03:52 AM
No USB Mouse or Wireless adapter. moosegoose Slackware 1 09-09-2005 05:06 AM
cant get mandrake 8.2 to initialize a usb mouse neither a ps/2-- linux first time use linuxguardian Linux - Newbie 0 11-02-2004 09:13 AM
cant get mandrake 8.2 to initialize a usb mouse neither a ps/2-- linux first time use linuxguardian Linux - Hardware 0 11-02-2004 08:10 AM
Netgear MA111 802.11b USB adapter failed to initialize on startup (RHL9) BTTF Man Linux - Hardware 0 06-19-2004 06:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration