LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-17-2003, 01:53 AM   #1
LOUDSilence
Member
 
Registered: Oct 2003
Location: Sydney
Distribution: Red Hat 8
Posts: 77

Rep: Reputation: 15
USB Device not accepting new address


Hi,

This one is I have been working on for months, I am trying to connect a sidewinder precision 2 USB joystick. When I plug it in I get :
usb.c USB device not accepting new address=3 (error=-32)
usb.c USB device not accepting new address=4 (error=-32)

I did modprobe joydev and sidewinder. It is all usb device that are not working. I have 4 usb ports 2 in front and 2 in the back. It seems to have 3 root hubs. I my device browser (System devices section) and in the usb section it has:
7001 usb-ohci
7001 usb-ohci
7001 usb-ohci
unknown device 1039:7002 ehci-hcd

I dont know what this means or if I have given you to much information but any help work be greatly appreciated.

$ cat /proc/modules
sidewinder 11192 0 (unused)
gameport 3396 0 [sidewinder]
joydev 7168 0 (unused)
sr_mod 18136 0 (autoclean)
i810_audio 25224 0 (autoclean)
ac97_codec 13384 0 (autoclean) [i810_audio]
soundcore 6532 2 (autoclean) [i810_audio]
agpgart 43072 3 (autoclean)
nvidia 1766656 11 (autoclean)
vmnet 23336 6
parport_pc 19108 0
parport 37152 0 [parport_pc]
vmmon 27572 0 (unused)
autofs 13348 0 (autoclean) (unused)
sis900 16908 1
iptable_filter 2412 0 (autoclean) (unused)
ip_tables 14936 1 [iptable_filter]
ide-scsi 10512 0
scsi_mod 107176 2 [sr_mod ide-scsi]
ide-cd 33608 0
cdrom 33696 0 [sr_mod ide-cd]
mousedev 5524 1
keybdev 2976 0 (unused)
hid 22244 0 (unused)
input 5888 0 [sidewinder joydev mousedev keybdev hid]
ehci-hcd 17480 0 (unused)
usb-ohci 21320 0 (unused)
usbcore 77024 1 [hid ehci-hcd usb-ohci]
ext3 70368 2
jbd 52212 2 [ext3]

$ cat /proc/interrupts
CPU0
0: 243075 XT-PIC timer
1: 361 XT-PIC keyboard
2: 0 XT-PIC cascade
5: 25178 XT-PIC usb-ohci, eth0, nvidia
8: 1 XT-PIC rtc
11: 0 XT-PIC usb-ohci, usb-ohci, ehci-hcd, SiS 7012
12: 4800 XT-PIC PS/2 Mouse
14: 7889 XT-PIC ide0
15: 55 XT-PIC ide1
NMI: 0
ERR: 0

$ cat /proc/bus/usb/devices
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.04
S: Manufacturer=Linux 2.4.18-14 ehci-hcd
S: Product=PCI device 1039:7002 (Silicon Integrated Systems [SiS])
S: SerialNumber=00:03.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=256ms
T: Bus=03 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= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=e084d000
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=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= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=e084b000
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=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= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=e0849000
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

$ cat /proc/bus/usb/drivers
usbdevfs
hub
96-111: hiddev
hid

I don't know what this really is but it may help someone.

Thanks
 
Old 12-15-2003, 12:47 PM   #2
wmeler
Member
 
Registered: Dec 2003
Distribution: Linux Mint 15 (Cinnamon)
Posts: 215

Rep: Reputation: 18
Re: USB Device not accepting new address

I get the same error message in /var/log/messages...did you ever fix the problem? If so, what did you do?

Here's your original message
------------------------------------------------------------------------
Quote:
Originally posted by LOUDSilence
Hi,

This one is I have been working on for months, I am trying to connect a sidewinder precision 2 USB joystick. When I plug it in I get :
usb.c USB device not accepting new address=3 (error=-32)
usb.c USB device not accepting new address=4 (error=-32)

I did modprobe joydev and sidewinder. It is all usb device that are not working. I have 4 usb ports 2 in front and 2 in the back. It seems to have 3 root hubs. I my device browser (System devices section) and in the usb section it has:
7001 usb-ohci
7001 usb-ohci
7001 usb-ohci
unknown device 1039:7002 ehci-hcd

I dont know what this means or if I have given you to much information but any help work be greatly appreciated.

$ cat /proc/modules
sidewinder 11192 0 (unused)
gameport 3396 0 [sidewinder]
joydev 7168 0 (unused)
sr_mod 18136 0 (autoclean)
i810_audio 25224 0 (autoclean)
ac97_codec 13384 0 (autoclean) [i810_audio]
soundcore 6532 2 (autoclean) [i810_audio]
agpgart 43072 3 (autoclean)
nvidia 1766656 11 (autoclean)
vmnet 23336 6
parport_pc 19108 0
parport 37152 0 [parport_pc]
vmmon 27572 0 (unused)
autofs 13348 0 (autoclean) (unused)
sis900 16908 1
iptable_filter 2412 0 (autoclean) (unused)
ip_tables 14936 1 [iptable_filter]
ide-scsi 10512 0
scsi_mod 107176 2 [sr_mod ide-scsi]
ide-cd 33608 0
cdrom 33696 0 [sr_mod ide-cd]
mousedev 5524 1
keybdev 2976 0 (unused)
hid 22244 0 (unused)
input 5888 0 [sidewinder joydev mousedev keybdev hid]
ehci-hcd 17480 0 (unused)
usb-ohci 21320 0 (unused)
usbcore 77024 1 [hid ehci-hcd usb-ohci]
ext3 70368 2
jbd 52212 2 [ext3]

$ cat /proc/interrupts
CPU0
0: 243075 XT-PIC timer
1: 361 XT-PIC keyboard
2: 0 XT-PIC cascade
5: 25178 XT-PIC usb-ohci, eth0, nvidia
8: 1 XT-PIC rtc
11: 0 XT-PIC usb-ohci, usb-ohci, ehci-hcd, SiS 7012
12: 4800 XT-PIC PS/2 Mouse
14: 7889 XT-PIC ide0
15: 55 XT-PIC ide1
NMI: 0
ERR: 0

$ cat /proc/bus/usb/devices
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.04
S: Manufacturer=Linux 2.4.18-14 ehci-hcd
S: Product=PCI device 1039:7002 (Silicon Integrated Systems [SiS])
S: SerialNumber=00:03.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=256ms
T: Bus=03 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= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=e084d000
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=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= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=e084b000
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=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= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=e0849000
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

$ cat /proc/bus/usb/drivers
usbdevfs
hub
96-111: hiddev
hid

I don't know what this really is but it may help someone.

Thanks
 
Old 12-16-2003, 04:26 AM   #3
LOUDSilence
Member
 
Registered: Oct 2003
Location: Sydney
Distribution: Red Hat 8
Posts: 77

Original Poster
Rep: Reputation: 15
No but if any one knows the answer I would appreciate it greatly.
 
Old 12-16-2003, 10:35 AM   #4
wmeler
Member
 
Registered: Dec 2003
Distribution: Linux Mint 15 (Cinnamon)
Posts: 215

Rep: Reputation: 18
LOUDSilence,
I figured it out. You need to recompile the kernel such that a few things are included:
CONFIG_SCSI, CONFIG_SCSI (for block devices...can't remember the exact name), CONFIG_SCSI (for general devices), and need to be sure that usb-storage, usbcore, and usb-uhci build in as well. If you can't figure it out from this, let me know and I'll get the exact names. (I'm at work and can't get to the Linux box right now.)


I'm not 100% sure how to build it in Red Hat 8, but I think it's probably (in /usr/src/linux) "make menuconfig" or "make xconfig" or something like that. Time to get out the manual about how to build the kernel...
 
Old 12-17-2003, 01:08 AM   #5
LOUDSilence
Member
 
Registered: Oct 2003
Location: Sydney
Distribution: Red Hat 8
Posts: 77

Original Poster
Rep: Reputation: 15
I use my linux box as a network application development tool for my work. I really can't risk testing this and having my machine down for a couple of days (That would really suck!!) I dont have a spare machine to test this on as of now. But if you could try it out and if you get it to work and tell me how you did it, that would be great.

I am dieing to get my usb sidewinder precision2 joystick working so I can fly around in FlightGear. The simulator itself looks great, but cant play it using a keyboard !!!

Thanks
 
Old 12-17-2003, 04:44 PM   #6
wmeler
Member
 
Registered: Dec 2003
Distribution: Linux Mint 15 (Cinnamon)
Posts: 215

Rep: Reputation: 18
Did my previous response post? I can't see it! (And I wrote about 2 pages worth of directions!) Let me know if you still need help...

but bottom line... you need to have the "usbcore", "scsi", "scsi general", "scsi block", "hid" aka. Human Interface Device, "joydev" for joystick, "input", and "usb-uhci" modules "modprobe"d or built into the kernel.

if you can't see my previous message, i'll try my best re-reply if this basic information isn't enough to get you going in the right direction.
 
Old 12-17-2003, 04:46 PM   #7
wmeler
Member
 
Registered: Dec 2003
Distribution: Linux Mint 15 (Cinnamon)
Posts: 215

Rep: Reputation: 18
oh one more thing...if you re-build/re-compile the kernel, make sure you install it properly...if you screw that up...the machine could be dead. be sure to read the Rd Hat documentation on how to do that exactly!
 
Old 12-18-2003, 03:22 AM   #8
LOUDSilence
Member
 
Registered: Oct 2003
Location: Sydney
Distribution: Red Hat 8
Posts: 77

Original Poster
Rep: Reputation: 15
I dont understand the difference between modprobe and compile into...

I am just a programmer, when it comes to hardware I am a little lost in linux, always learning

Thanks
 
Old 12-18-2003, 12:03 PM   #9
wmeler
Member
 
Registered: Dec 2003
Distribution: Linux Mint 15 (Cinnamon)
Posts: 215

Rep: Reputation: 18
LOUDSilence,

first off, a general comment. linux is a great way to slowly learn more about how hardware and software interface. this is because the guys who write about linux tend to be very smart guys that try to show off what they know (which is good if you're trying to learn something). also, they tend to support others out there and there are many books on the topics related to

my recommendation for you at this point is to treat this USB fix as a really good opportunity to learn more about how software and hardware interface, specifically what device drivers and modules are (from a linux perspective) and how they work. not the internals necessarily, but at least from a high level what they do.

at a very basic level, modprobe and compiling into the kernel are both software-only topics. in other words, you don't actually need to understand what the device driver is doing, just that you need to integrate it (or actually the module) into the system. basically "modprobe" (preferred over insmod) allows you to "try out" a module without making it a permanent piece in your system. essentially, these modules in your case are actually the device driver for the hardware. i'm not sure if you're a C programmer or not, but these drivers are written in C (files end in .c) and are compiled (or built with "make") into .o files.

for example, you may have a file called (and i'm making this up) scsi.c. you would want to use make to build scsi.o

at that point you would "modprobe scsi" and assuming the system can find scsi.o, it would attempt to insert the module (temporarily) into the system.

you would then be able to try to use the device.

this is a gross simplification of the process, but any linux book that describes linux device drivers could tell you more than you want to know about the subject. also, there may be some Documentation in your linux machine somewhere. minimally, i recommend strongly that you read the documentation provided if you do a "man make", "man modprobe", "man insmod", "man lsmod", and "man rmmod". and if you don't know what man is try "man man". (i mean that exactly as i typed it.)

now, compiling into the kernel is more complicated or more simple depending upon how you look at it. it's more complicated in the aspect that you are rebuilding your entire system and what components (or modules) are in the system. it may be more simple in that you can generally just follow the directions i gave (or in any book that describes how to build the kernel) and then everything may just work without having to understand "make" or compiling or anything. (but then again, like i said, be very, very careful with this as--unlimke modprobe--if you crew up building the kernel, the whole OS and kernel would have to be reinstalled.)
 
Old 12-18-2003, 12:09 PM   #10
wmeler
Member
 
Registered: Dec 2003
Distribution: Linux Mint 15 (Cinnamon)
Posts: 215

Rep: Reputation: 18
LOUDSilence,

one more thing...
could your print out what the following outputs for me:

"cat /etc/modules.conf"

and

"cat /etc/fstab"
 
Old 12-18-2003, 05:00 PM   #11
rjhen
LQ Newbie
 
Registered: Dec 2003
Posts: 1

Rep: Reputation: 0
Lightbulb Conversion of WIN OS generic USB driver to Linix?

I have a USB interface that allowsd me to use a headset on Win XP. How do I use the same device with linix?
 
Old 12-18-2003, 05:56 PM   #12
wmeler
Member
 
Registered: Dec 2003
Distribution: Linux Mint 15 (Cinnamon)
Posts: 215

Rep: Reputation: 18
rjhen,
unless you have the source code for the driver (which i highly doubt), you will have to get a new driver. what headset is it?
 
Old 03-23-2004, 03:04 AM   #13
dmilet
LQ Newbie
 
Registered: Dec 2003
Distribution: Suse9.2
Posts: 4

Rep: Reputation: 0
Hello,

I am getting a similar error message in a 2.6.x kernel :

drivers/usb/core/usb.c: registered new driver usbnet
SCSI subsystem initialized
Initializing USB Mass Storage driver...
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
hub 1-0:1.0: new USB device on port 2, assigned address 2
usb 1-2: control timeout on ep0out
ehci_hcd 0000:00:10.3: Unlink after no-IRQ? Different ACPI or APIC settings may help.
usb 1-2: control timeout on ep0out
usb 1-2: device not accepting address 2, error -110


The device I am trying to connect is a SanDisk Cruzer Mini 256Mb (USB Drive or Disk or Pen).

Weird thing is that it works OK when I disable ACPI from the boot...

Food for thought

Last edited by dmilet; 03-24-2004 at 02:46 AM.
 
Old 03-24-2004, 02:43 AM   #14
dmilet
LQ Newbie
 
Registered: Dec 2003
Distribution: Suse9.2
Posts: 4

Rep: Reputation: 0
I found a better workaround for my problem (see previous post):

Instead of completely disabling ACPI at boot time (with acpi=off), I only disable ACPI for PCI : the kernel boot parameter I use is pci=noacpi .
 
Old 05-08-2004, 01:29 PM   #15
randyding
Member
 
Registered: May 2004
Posts: 552

Rep: Reputation: 31
In case you're still seeing this problem this is what I know about it.
I saw the same problem with every USB CF Card Reader I tried.
On Redhat Enterprise 3.0 WS (ABIT NF7 mobo) I disabled USB 2.0 in the bios,
which automatically removed the USB 2.0 drivers when I rebooted the OS.
The USB 1.x then worked - though 40x slower speeds for my CF card reader.

From what I can figure out, Redhat's USB 2.0 is jacked or it may be the 2.4 kernel. Knoppix CD which uses a newer kernel worked perfectly at USB 2.0 speeds on the same computer hardware. I also tried Redhat 7.3 on a very old hardware 333MHz P2 and that worked, but that hardware is not USB 2.0.

Conclusion, my best guess here is that the 2.4 kernel doesn't work in all cases with USB 2.0 hardware, so try disabling USB 2.0 in the bios.

If someone else learns more about how to make this work please get back to me. I'd really like to get 2.0 speed back.

Randy.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
USB camera - device not accepting address .., error -110 ndegrace Linux - Hardware 4 05-28-2005 12:34 PM
USB Scanner problem: usb 1-2: device not accepting address 3, error -71 lagartoflojo Slackware 1 11-13-2004 05:26 PM
"usb device not accepting address" caused by IFP-driver (IRiver) interrupt? Mitchua Linux - Hardware 0 09-24-2004 10:14 PM
USB Device not accepting address systemparadox Linux - Hardware 2 08-24-2004 11:00 AM
USB Printer Problem "device not accepting new address" deckmoney Linux - General 1 04-16-2003 05:33 PM


All times are GMT -5. The time now is 10:16 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration