Ralink-2500 USB 2.0 wireless + Hauppauge WinTV Nova-T USB 2.0 + AMD 780g

Bug #256492 reported by Unai Uribarri
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

I've installed Ubuntu 8.04 on an AMD 780g based motherboard (Gigabyte GA.-MA78GM-S2H) with an AMD SB700 south brigde, which has 2 ehci controllers with 6 ports each one. If I plug both the Ralink 2500 USB wireless adapter and the Hauppage WinTV Nova-T USB2 DVB adapter to the same controller, none will work. The wireless adapter is unable to connect to the network and the TV signal is plain garbage. If I plug the adapter in diferent controllers, they work perfectly.

These devices (the wifi and the tv card) works perfectly together in any port of an Intel Core2 Duo system.

unai@shrek:~$ uname -a
Linux shrek 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux
unai@shrek:~$ sudo lsusb -v -d 2040:9301

Bus 006 Device 008: ID 2040:9301 Hauppauge Hauppauge WinTV NOVA-T USB2 (warm)
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x2040 Hauppauge
  idProduct 0x9301 Hauppauge WinTV NOVA-T USB2 (warm)
  bcdDevice 0.00
  iManufacturer 1 Hauppau??
  iProduct 2 SOHO-FX2
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 46
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0x80
      (Bus Powered)
    MaxPower 400mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 4
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 0
      bInterfaceProtocol 0
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x01 EP 1 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0040 1x 64 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0040 1x 64 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x02 EP 2 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x86 EP 6 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
Device Qualifier (for other device speed):
  bLength 10
  bDescriptorType 6
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  bNumConfigurations 1
Device Status: 0x0002
  (Bus Powered)
  Remote Wakeup Enabled

unai@shrek:~$ sudo lsusb -v -d 0b05:1706

Bus 007 Device 004: ID 0b05:1706 ASUSTek Computer, Inc. WL-167G 802.11g Adapter [ralink]
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x0b05 ASUSTek Computer, Inc.
  idProduct 0x1706 WL-167G 802.11g Adapter [ralink]
  bcdDevice 0.01
  iManufacturer 1 ASUS
  iProduct 2 802.11g WLAN Drive
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 32
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0x80
      (Bus Powered)
    MaxPower 300mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x01 EP 1 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
Device Qualifier (for other device speed):
  bLength 10
  bDescriptorType 6
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  bNumConfigurations 1
Device Status: 0x0000
  (Bus Powered)

Revision history for this message
Unai Uribarri (unaiur) wrote :

PD: when plugged to the same controller, the devices are recognized and the drivers automatically loaded for both devices. But they don't work properly.

Revision history for this message
Unai Uribarri (unaiur) wrote :

Removing the ehci_hcd driver using modprobe -r ehci_hcd also solves the incompatibilities.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Unai Uribarri (unaiur) wrote :

I have installed the kernel 2.6.27-3-generic and the issue remains. The bug appears when dvb-usb-nova-t-usb2 and modules are loaded and I plug another USB2 device (I have tried with a WIFI dongle, a DVD drive, a harddisk and a memory stick) on the same USB root controller and I use it (read files or connect to a WIFI network).

There are lots of errors like these in the dmesg output:

[298862.248639] dvb-usb: bulk message failed: -22 (6/-169911008)
[298862.248646] dvb-usb: bulk message failed: -22 (6/-169911008)
[298862.248652] dvb-usb: bulk message failed: -22 (6/-169910840)
[298862.257432] dvb-usb: bulk message failed: -22 (6/-1072526540)
[298862.257448] dvb-usb: bulk message failed: -22 (6/-1072526540)
[298862.257461] dvb-usb: bulk message failed: -22 (6/-137609952)
[298862.257466] dvb-usb: bulk message failed: -22 (6/-137609952)

In this state all the USB peripherals are unusable (including USB 1.1 ones). When I unplug the DVB tuner, the system is restored.

In my previous computer (a powerpc MAC mini) the DVB tuner works flawlessly. I've tried also in a Dell lnspiron 6400 (Intel Core 2 duo) and works okay.

Revision history for this message
covert (thecovert) wrote :

I also have a similar problem.

Oct 3 23:21:12 bomberman kernel: [ 204.032537] dvb-usb: bulk message failed: -110 (1/0)
Oct 3 23:21:14 bomberman kernel: [ 206.044544] dvb-usb: bulk message failed: -110 (5/0)
Oct 3 23:21:14 bomberman kernel: [ 206.044563] mt352_read_register: readreg error (reg=0, ret==-121)
Oct 3 23:21:15 bomberman kernel: [ 207.040535] dvb-usb: error while stopping stream.
Oct 3 23:21:17 bomberman kernel: [ 209.040547] dvb-usb: bulk message failed: -110 (5/0)
Oct 3 23:21:17 bomberman kernel: [ 209.040567] mt352_read_register: readreg error (reg=0, ret==-121)
Oct 3 23:21:17 bomberman kernel: [ 209.052589] dib0700: RC Query Failed
Oct 3 23:21:17 bomberman kernel: [ 209.052608] dvb-usb: error while querying for an remote control event.
Oct 3 23:21:19 bomberman kernel: [ 211.064163] dvb-usb: bulk message failed: -110 (1/0)
Oct 3 23:21:21 bomberman kernel: [ 213.076536] dvb-usb: bulk message failed: -110 (5/0)

It happens when I try to record a HD channel on one USB tuner and then try to watch a SD channel on another. I have experienced this problem with 3 totally different USB tuners and it even happens with 1 USB tuner, recording 2 streams of the same transponder, 1 SD and 1 HD.

I have the same Gigabyte GA.-MA78GM-S2H motherboard but different TV tuners. I believe the problem is related to the SB600 controller on the board.

My current kernel is 2.6.27-4-generic and I have also had the problem with 2.6.24-19-generic. I recently upgraded to 2.6.27-4-generic in the hope to solve this problem. v4l was also recently build from the SVN in the hope to solve this problem, with no success.

In other posts I have seen similar problems with the USB and this SB600 chipset when doing large transfers on USB thumb drives.

Happy to respond with any more information to help find the problem.

Revision history for this message
Unai Uribarri (unaiur) wrote :

I think that the problem is related to the restricted video drivers (fglrx). I've disabled them one week ago (now I'm using Intrepid Ibex) and didn't happen again. Also, the same hardware works flawlessly in Windows XP (I just installed the O.S. to check if the hardware is faulty).

Revision history for this message
juju27 (m8hpw) wrote :

Hi,

Exactly the same behaviour occurs for me.
My motherboard (ma78gm-us2h) is based on a amd 780g+sb700. When the two usb2 device are plug on the same bus, the dvb works bad like there is conflict during the data transfer (the same thing occurred with a memory usb stick instaed of ralink wifi stick).
In such a case lsusb gives
Bus 001 Device 007: ID 148f:2573 Ralink Technology, Corp. RT2501USB Wireless Adapter
Bus 001 Device 002: ID 0413:6026 Leadtek Research, Inc. WinFast DTV Dongle (warm state)

But now when I plug the two usb2 devices on ports that are linked to two distinct ports, then the dvb stick works well.
In such a case lsusb gives
Bus 001 Device 004: ID 0413:6026 Leadtek Research, Inc. WinFast DTV Dongle (warm state)
Bus 002 Device 002: ID 148f:2573 Ralink Technology, Corp. RT2501USB Wireless Adapter

I have this effect with the lastest ubuntu distrib
Linux multimedia 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux
So the issue seems to remains on this version of the kernel.

juju27

Revision history for this message
kernel-janitor (kernel-janitor) wrote :

Hi Unai,

Please be sure to confirm this issue exists with the latest development release of Ubuntu. ISO CD images are available from http://cdimage.ubuntu.com/releases/ . Please then run following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux-image-`uname -r` 256492

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Moonshade (moonshade) wrote :

Same problem here:

Motherboard GA-MA78GM-US2H with AMD SB700 USB chipset.

If two USB devices connected to same pair of USB ports start consuming bandwidth, USB stream gets corrupted. Sometimes silently, sometimes with kernel messages like: bulk message failed: -110, i2c errors and so on.

Tested with two different USB DVB-T tuners: dvb_usb_af9015 and dvb_usb_ce6230. If both tuners zapped to channel - stream gets corrupted (both tuners report zero bit errors rate and decent SNR, so its USB issue).

If I replace one tuner with USB flash drive and start copying some big file - same thing, corruption of USB stream. External USB hub doesn't help either. In order to get both devices to work correctly you have to put them on different pairs of USB ports.

Tested on Jaunty 9.04 x64 using latest DVB drivers from http://linuxtv.org/hg/v4l-dvb.
Kernels tested:
2.6.28-14-generic with security updates
2.6.31-020631rc4-generic, latest of KernelMainlineBuilds

tags: removed: needs-upstream-testing
Revision history for this message
Moonshade (moonshade) wrote :

Just tested under Windows XP 32-bit.

Both tuners on same USB controller, BDA drivers, perfect picture on both without a sign of corruption. Hardware is ok.

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Triaged a while ago but has not had any updated comments for quite some time. Please let us know if this issue remains in the current Ubuntu release, http://www.ubuntu.com/getubuntu/download . If the issue remains, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

Changed in linux (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.