Modify

Opened 5 years ago

Last modified 3 years ago

#13286 accepted defect

wireless-related USB port shutdown on WNR3500L

Reported by: degraw@… Owned by: hauke
Priority: normal Milestone: Chaos Calmer 15.05
Component: other Version: Trunk
Keywords: Cc:

Description

When something is set and/or queried in the wireless device on my Netgear WNR3500L, the USB port shuts down and doesn't again work until the power is cycled.

The following steps reproduce the problem, using the Image Generator from April 1st, Barrier Breaker r36141.

  1. Create an image with:
    make image PROFILE=Broadcom-bgmac-none PACKAGES='wlc nas wireless-tools kmod-usb-storage kmod-usb2 luci-ssl block-mount kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1'
    
  2. Install the new image to the router and power it down.
  3. Plug a USB drive in and power the router back on.
  4. SSH into the router and see that the drive is recognized, mount filesystems, read/write files, whatever.
  5. Install kmod-brcm-wl. The USB drive is still accessible after the wireless drivers are loaded.
  6. Populate /etc/config/wireless with
    /sbin/wifi detect > /etc/config/wireless
    
  7. Access the router's status page in a browser, the USB port turns off, and this shows up in the kernel log:
    [  644.176000] usb 1-1: USB disconnect, device number 2
    [  644.188000] sd 0:0:0:0: [sda] Synchronizing SCSI cache
    [  644.192000] sd 0:0:0:0: [sda]  
    [  644.196000] Result: hostbyte=0x01 driverbyte=0x00
    

Attachments (0)

Change History (7)

comment:1 Changed 5 years ago by degraw@…

Or, instead of steps 6 and 7, just run iwconfig.

comment:2 Changed 5 years ago by hauke

  • Owner changed from developers to hauke
  • Status changed from new to accepted

comment:3 Changed 4 years ago by anonymous#33

I cannot get usb working on this unit. I have installed proper packages following the wiki, could be this issue responsible for that? May I help you resolving this?

comment:4 Changed 4 years ago by degraw

@hauke any news? It's a very annoying bug.

comment:5 Changed 4 years ago by esd

comment:6 follow-up: Changed 3 years ago by anonymous

I fixed it after flash with an image compiled with params:

make image PROFILE=Broadcom-mips74k-brcmsmac PACKAGES=kmod-brcmsmac kmod-usb-storage

After that, I compiled another image with new params to profile proprietary wl:

make image PROFILE=Broadcom-mips74k-wl PACKAGES=-wpad-mini kmod-brcm-wl wlc nas kmod-usb-storage

I'm using Barrier Breaker…

comment:7 in reply to: ↑ 6 Changed 3 years ago by anonymous

Replying to anonymous:

I fixed it after flash with an image compiled with params:

make image PROFILE=Broadcom-mips74k-brcmsmac PACKAGES=kmod-brcmsmac kmod-usb-storage

After that, I compiled another image with new params to profile proprietary wl:

make image PROFILE=Broadcom-mips74k-wl PACKAGES=-wpad-mini kmod-brcm-wl wlc nas kmod-usb-storage

I'm using Barrier Breaker…

It is hard to comprehend what you mean that you fixed by an image compiled with some flags, flashed it, and compiled annother one then. Which one is running now, with USB working? Is the wl driver working, and the USB working?

Add Comment

Modify Ticket

Action
as accepted .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.