OS: Debian / GNU Linux Wheezy 3.2.0-4-amd64.
Problem: The machine has 4 front and 4 rear USB ports. I'm booting with a USB DAC inserted in a USB port. If the DAC is inserted in one of the four rear ports, then wlan0 fails to become ready:
- Code: Select all
[ 7.564283] usb 6-2: new high-speed USB device number 2 using xhci_hcd
[ 7.585126] usb 6-2: New USB device found, idVendor=249c, idProduct=930f
[ 7.585140] usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 7.585149] usb 6-2: Product: M2Tech USB Audio 2.0
[ 7.585156] usb 6-2: Manufacturer: M2Tech
[ 7.585163] usb 6-2: SerialNumber: 0000
[ 8.105291] Adding 7551996k swap on /dev/sda5. Priority:-1 extents:1 across:7551996k SS
[ 8.119705] usbcore: registered new interface driver snd-usb-audio
[ 8.160865] EXT4-fs (sda1): re-mounted. Opts: (null)
[ 8.282734] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ 8.375002] loop: module loaded
[ 8.474085] scsi 6:0:0:0: Direct-Access Innostor Innostor 1.00 PQ: 0 ANSI: 6
[ 8.478815] sd 6:0:0:0: [sdb] 61440000 512-byte logical blocks: (31.4 GB/29.2 GiB)
[ 8.479283] sd 6:0:0:0: [sdb] Write Protect is off
[ 8.479293] sd 6:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 8.479658] sd 6:0:0:0: [sdb] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
[ 8.485003] sdb:
[ 8.487927] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[ 8.493570] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 8.493820] sd 6:0:0:0: Attached scsi generic sg1 type 0
[ 10.444875] rtl8192c_common: Loading firmware file rtlwifi/rtl8192cfw.bin
[ 10.810837] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 11.285676] RPC: Registered named UNIX socket transport module.
[ 11.285688] RPC: Registered udp transport module.
[ 11.285695] RPC: Registered tcp transport module.
[ 11.285702] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 11.302831] FS-Cache: Loaded
[ 11.326305] FS-Cache: Netfs 'nfs' registered for caching
[ 11.340943] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 11.754519] wlan0: authenticate with 00:18:4d:d0:c3:96 (try 1)
[ 11.956181] wlan0: authenticate with 00:18:4d:d0:c3:96 (try 2)
[ 12.156206] wlan0: authenticate with 00:18:4d:d0:c3:96 (try 3)
[ 12.360251] wlan0: authentication with 00:18:4d:d0:c3:96 timed out
[ 12.375600] rtl8192c_common: Loading firmware file rtlwifi/rtl8192cfw.bin
After login, I can bring up wlan0 manually with
- Code: Select all
ifdown wlan0; ifup wlan0
In contrast, if the DAC is inserted in one of the four front ports, then wlan0 becomes ready at login:
- Code: Select all
[ 7.462098] usb 2-3: New USB device found, idVendor=249c, idProduct=930f
[ 7.462113] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 7.462122] usb 2-3: Product: M2Tech USB Audio 2.0
[ 7.462130] usb 2-3: Manufacturer: M2Tech
[ 7.462136] usb 2-3: SerialNumber: 0000
[ 7.968843] usbcore: registered new interface driver snd-usb-audio
[ 9.369282] rtl8192c_common: Loading firmware file rtlwifi/rtl8192cfw.bin
[ 9.717926] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 10.169626] RPC: Registered named UNIX socket transport module.
[ 10.169639] RPC: Registered udp transport module.
[ 10.169645] RPC: Registered tcp transport module.
[ 10.169652] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 10.186774] FS-Cache: Loaded
[ 10.210423] FS-Cache: Netfs 'nfs' registered for caching
[ 10.225661] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 10.611958] wlan0: authenticate with 00:18:4d:d0:c3:96 (try 1)
[ 10.614462] wlan0: 00:18:4d:d0:c3:96 denied authentication (status 13)
[ 10.614547] wlan0: authenticate with 00:18:4d:d0:c3:96 (try 1)
[ 10.627701] wlan0: authenticated
[ 10.650992] wlan0: associate with 00:18:4d:d0:c3:96 (try 1)
[ 10.654913] wlan0: RX AssocResp from 00:18:4d:d0:c3:96 (capab=0x471 status=0 aid=18)
[ 10.654926] wlan0: associated
[ 10.657490] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Any idea how to make wlan0 ready at login no matter which USB port the DAC is plugged in (the machine is to be used as headless server, I need to be able to connect via ssh after reboot) ? Thanks !