Bug 797581

Summary: lose control of device RT2870 Wireless Adapter
Product: [Fedora] Fedora Reporter: la_antorcha_guia
Component: NetworkManagerAssignee: Dan Williams <dcbw>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: dcbw
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-04 20:49:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description la_antorcha_guia 2012-02-26 21:56:22 UTC
Description of problem:
In some cases system loses control of usb WIFI device. Need replug to work again.

Version-Release number of selected component (if applicable):


How reproducible:
Plug:
Bus 001 Device 011: ID 148f:2870 Ralink Technology, Corp. RT2870 Wireless Adapter
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0.
  bDeviceProtocol         0.
  bMaxPacketSize0        64
  idVendor           0x148f Ralink Technology, Corp.
  idProduct          0x2870 RT2870 Wireless Adapter
  bcdDevice            1.01
  iManufacturer           1 Ralink
  iProduct                2 802.11 n WLAN
  iSerial                 3 1.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           53
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0.
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              450mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           5
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              5 1.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
      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     0x03  EP 3 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     0x04  EP 4 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)



Steps to Reproduce:
1. plug device APPROX! APP USB 300 HP
2. play with it
3.
  
Actual results:
loses control of device 

Expected results:
control the device.

Additional info:

logs:


usb 1-7: new high-speed USB device number 2 using ehci_hcd
usb 1-7: New USB device found, idVendor=148f, idProduct=2870
usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-7: Product: 802.11 n WLAN
usb 1-7: Manufacturer: Ralink
usb 1-7: SerialNumber: 1.0

...
usb 1-7: USB disconnect, device number 2
NetworkManager[666]: <info> radio killswitch /sys/devices/pci0000:00/0000:00:10.4/usb1/1-7/1-7:1.0/ieee80211/phy0/rfkill0 disappeared
NetworkManager[666]: <info> radio killswitch /sys/devices/pci0000:00/0000:00:10.4/usb1/1-7/1-7:1.0/ieee80211/phy0/rfk
usb 1-7: new high-speed USB device number 7 using ehci_hcd
usb 1-7: New USB device found, idVendor=148f, idProduct=2870
usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-7: Product: 802.11 n WLAN
usb 1-7: Manufacturer: Ralink
usb 1-7: SerialNumber: 1.0
usb 1-7: reset high-speed USB device number 7 using ehci_hcd
mtp-probe: checking bus 1, device 7: "/sys/devices/pci0000:00/0000:00:10.4/usb1/1-7"
...
NetworkManager[666]: <info> found WiFi radio killswitch rfkill1 (at /sys/devices/pci0000:00/0000:00:10.4/usb1/1-7/1-7:1.0/ieee80211/phy1/r
NetworkManager[666]: <info> found WiFi radio killswitch rfkill1 (at /sys/devices/pci0000:00/0000:00:10.4/usb1/1-7/1-7
kernel: [   42.966482] ADDRCONF(NETDEV_UP): wlan0: link is not ready
...

 NetworkManager[666]: <info> (wlan0): driver supports SSID scans (scan_capa 0x01).
NetworkManager[666]: <info> (wlan0): driver supports SSID scans (scan_capa 0x01).
NetworkManager[666]: NetworkManager[666]: <info> (wlan0): new 802.11 WiFi device (driver: 'rt2800usb' ifindex: 8)
NetworkManager[666]: <info> (wlan0): new 802.11 WiFi device (driver: 'rt2800usb' ifindex: 8)
NetworkManager[666]: NetworkManager[666]: <info> (wlan0): exported as /org/freedesktop/NetworkManager/Devices/5
NetworkManager[666]: <info> (wlan0): exported as /org/freedesktop/NetworkManager/Devices/5
kernel: [   50.721928] usb 1-7: USB disconnect, device number 7
NetworkManager[666]: <info> radio killswitch /sys/devices/pci0000:00/0000:00:10.4/usb1/1-7/1-7:1.0/ieee80211/phy1/rfkill1 disappeared
NetworkManager[666]: NetworkManager[666]: <info> radio killswitch /sys/devices/pci0000:00/0000:00:10.4/usb1/1-7/1-7:1.0/ieee80211/phy1/rfk
kernel: [   50.952051] usb 1-7: new high-speed USB device number 8 using ehci_hcd
kernel: [   51.084064] usb 1-7: New USB device found, idVendor=148f, idProduct=2870
kernel: [   51.084074] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
kernel: [   51.084082] usb 1-7: Product: 802.11 n WLAN
kernel: [   51.084088] usb 1-7: Manufacturer: Ralink
kernel: [   51.084094] usb 1-7: SerialNumber: 1.0
kernel: [   51.189050] usb 1-7: reset high-speed USB device number 8 using ehci_hcd
mtp-probe: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:10.4/usb1/1-7"


Finally seems that appears "phy5"
[root@ww1 rules.d]# ls /sys/devices/pci0000:00/0000:00:10.4/usb1/1-7/1-7:1.0/ieee80211/
phy5

Comment 1 la_antorcha_guia 2012-03-04 20:48:36 UTC
seems that HPET VIA enabled could cause this problem