Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PCI USB2 card not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jabster
n00b
n00b


Joined: 18 Nov 2004
Posts: 58
Location: Chicago

PostPosted: Thu Jan 27, 2005 12:17 pm    Post subject: PCI USB2 card not working Reply with quote

Hi.

I just purchased a cheapo USB2 card (NEC chipset) for my computer, but it is not working correctly.

Output from tail -f /ar/log/kernel/current:
Code:

yes, that's nothing. No response at all when I plug my MP3 player in.

dmesg sections:
Code:
ieee1394: raw1394: /dev/raw1394 device initialized
ACPI: PCI interrupt 0000:00:0b.2[C] -> GSI 10 (level, low) -> IRQ 10
ehci_hcd 0000:00:0b.2: NEC Corporation USB 2.0
ehci_hcd 0000:00:0b.2: irq 10, pci mem f0808000
ehci_hcd 0000:00:0b.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:0b.2: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 5 ports detected
USB Universal Host Controller Interface driver v2.2
ACPI: PCI interrupt 0000:00:07.2[D] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:07.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
uhci_hcd 0000:00:07.2: irq 11, io base 0000d400
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:07.3[D] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:07.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
uhci_hcd 0000:00:07.3: irq 11, io base 0000d800
uhci_hcd 0000:00:07.3: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
...
SLPB PCI0 USB0 USB1 MODM UAR1 UAR2 LPT1
...
usb 2-2: new low speed USB device using address 2
HID device not claimed by input or hiddev
usbhid: probe of 2-2:1.0 failed with error -5


I don't get the "1394" stuff as it's not firewire.

I have two USB1.1 ports on my motherboard, and 5 USB2 ports on my PCI card.

Is there some kind of config I need to do? Something else to check?

I'm running 2.6.9 (d/l-ing 2.6.10 now).

Thanks,
john
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Thu Jan 27, 2005 1:26 pm    Post subject: Reply with quote

Code:
usb 2-2: new low speed USB device using address 2
HID device not claimed by input or hiddev
usbhid: probe of 2-2:1.0 failed with error -5

So it is not, in fact, an USB 2.0 device - have you plugged it into a 1.1 port ?
Does it work ?
You may have to examine the kernel options for modules pertaining to to mp3 players and other gadgets - maybe you need a specific driver from there.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
jabster
n00b
n00b


Joined: 18 Nov 2004
Posts: 58
Location: Chicago

PostPosted: Thu Jan 27, 2005 1:38 pm    Post subject: Reply with quote

adaptr wrote:
Code:
usb 2-2: new low speed USB device using address 2
HID device not claimed by input or hiddev
usbhid: probe of 2-2:1.0 failed with error -5

So it is not, in fact, an USB 2.0 device - have you plugged it into a 1.1 port ?
Does it work ?
You may have to examine the kernel options for modules pertaining to to mp3 players and other gadgets - maybe you need a specific driver from there.


I might add that the dmesg lines are all from boot. Not from pulgging the device in.

If I move the cable over to the USB 1.1 port everything works. I got the 2.0 card because the iriver iHP-120 is a USB2.0 device and I wanted faster transfers.

So USB is working, just not the card. I'm getting set to compile 2.6.10. Anything specific that I need for 2.0 vs 1.1?

thx,
john
Back to top
View user's profile Send private message
kahless23
n00b
n00b


Joined: 15 Oct 2004
Posts: 7

PostPosted: Fri Jan 28, 2005 10:10 pm    Post subject: Reply with quote

Hey...

I had a similar problem with probably the same card. Here's another one.

This thread (german) led me to the solution: I didn't have ehci-hcd in my kernel, which is required for USB 2.0. Recompiling the kernel helped for now (didn't test thoroughly).


Ciao,
Ronald. (Planning to buy an iRiver iHP-140, BTW. Unfortunately they seem to be sold out all over germany... :-( )
Back to top
View user's profile Send private message
desertstalker
Apprentice
Apprentice


Joined: 18 Sep 2004
Posts: 209

PostPosted: Sat Jan 29, 2005 1:47 am    Post subject: Reply with quote

jabster wrote:

So USB is working, just not the card. I'm getting set to compile 2.6.10. Anything specific that I need for 2.0 vs 1.1?


Yes, you need the ehci-hcd module loaded / compiled into kernel or you will not get aqny usb2 functionality.

Have you done this?
Back to top
View user's profile Send private message
jabster
n00b
n00b


Joined: 18 Nov 2004
Posts: 58
Location: Chicago

PostPosted: Sun Jan 30, 2005 1:32 am    Post subject: Reply with quote

desertstalker wrote:

Yes, you need the ehci-hcd module loaded / compiled into kernel or you will not get aqny usb2 functionality.

Have you done this?


Ok. I have now. Just compiled 2.6.10, and USB 2.0 seems to be working:
Code:
hub 1-0:1.0: state 5 ports 5 chg ffe0 evt 0010
ehci_hcd 0000:00:0b.2: GetStatus port 4 status 001803 POWER sig=j  CSC CONNECT
hub 1-0:1.0: port 4, status 0501, change 0001, 480 Mb/s
hub 1-0:1.0: debounce: port 4: total 100ms stable 100ms status 0x501
ehci_hcd 0000:00:0b.2: port 4 high speed
ehci_hcd 0000:00:0b.2: GetStatus port 4 status 001005 POWER sig=se0  PE CONNECT
usb 1-4: new high speed USB device using ehci_hcd and address 2
ehci_hcd 0000:00:0b.2: port 4 high speed
ehci_hcd 0000:00:0b.2: GetStatus port 4 status 001005 POWER sig=se0  PE CONNECT
usb 1-4: new device strings: Mfr=73, Product=93, SerialNumber=115
usb 1-4: default language 0x0409
usb 1-4: Product: iRiver iHP-100 Series
usb 1-4: Manufacturer: iRiver
usb 1-4: SerialNumber: 0123456789AB
usb 1-4: hotplug
usb 1-4: adding 1-4:2.0 (config #2, interface 0)
usb 1-4:2.0: hotplug
ub 1-4:2.0: usb_probe_interface
ub 1-4:2.0: usb_probe_interface - got id
uba: device 2 capacity nsec 0 bsize 512
uba: tag orig 0x2 reply 0x0
uba: tag orig 0x3 reply 0x1


Now, how exactly do I mount my iRiver?

From usbview:
Code:
iRiver iHP-100 Series
Manufacturer: iRiver             
Serial Number: 0123456789AB
Speed: 480Mb/s (high)
USB Version:  2.00
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Vendor Id: 1006
Product Id: 3002
Revision Number:  1.00

Config Number: 2
   Number of Interfaces: 1
   Attributes: c0
   MaxPower Needed:  98mA

   Interface Number: 0
      Name: ub
      Alternate Number: 0
      Class: 08(stor.)
      Sub Class: 6
      Protocol: 50
      Number of Endpoints: 3

         Endpoint Address: 82
         Direction: in
         Attribute: 2
         Type: Bulk
         Max Packet Size: 512
         Interval: 0ms

         Endpoint Address: 01
         Direction: out
         Attribute: 2
         Type: Bulk
         Max Packet Size: 512
         Interval: 125us

         Endpoint Address: 83
         Direction: in
         Attribute: 3
         Type: Int.
         Max Packet Size: 2
         Interval: 32ms


I found this discussion:
http://www.linuxquestions.org/questions/showthread.php?s=&forumid=3&threadid=280372
But it's for mandrake, I don't really under stand the whole BUS, {all_partitions} stuff.

Do I need to create a new file in /etc/udev/rules.d/? Edit the one there? And what do I add to it exactly?

Oh, and this too when trying to mount:
Code:
bash-2.05b# mount -t vfat /dev/uba /mnt/usb
mount: No medium found


thanks,
john
Back to top
View user's profile Send private message
jabster
n00b
n00b


Joined: 18 Nov 2004
Posts: 58
Location: Chicago

PostPosted: Sun Jan 30, 2005 1:58 am    Post subject: Reply with quote

Little update here.

Did some more reading and created /etc/udev/rules.d/10-local.rules:
BUS="usb", SYSFS{product}="iRiver iHP-100 Series", NAME="%k", SYMLINK="iRiver120"

Now it seems to work. Need to add the correct line to fstab so a user (me) can access it. But I think I'm good here.

Will follow up with progress.

thansk,
john
Back to top
View user's profile Send private message
jabster
n00b
n00b


Joined: 18 Nov 2004
Posts: 58
Location: Chicago

PostPosted: Sun Jan 30, 2005 3:19 am    Post subject: Reply with quote

Well, as promised (treatened?) my status report.

This thing kicks ass.

I created a new Hard Disc Device on my desktop, picked some useful icons, and, after plugging it in, I cllick the icon, it mounts, and konq opens up.

Kick ass.

RMB->Unmount, and unplug.

This is hella-cool.

Last (?) question: Do I need this line in /etc/fstab:
Code:
/dev/iRiver120 /mnt/iriver      vfat    noauto,user,rw,uid=1000 0       0


thx,
john
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum