Hello,
I have problems to install the driver with Jesse distro and I accidentally run an upgrade which upgrades the kernel to 4.4.x. As the drivers are not available yet for this kernel version I decided to install an old, well known Wheezy distro:
Code: Select all
pi@raspberrypi ~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
NAME="Raspbian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=raspbian
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Code: Select all
pi@raspberrypi ~ $ uname -r
3.18.11+
Next, I run the script provided by @LaFambe (thank you again!) and I have the following setup:
Regarding the driver, I added an automount when booting in /etc/rc.local
Code: Select all
##!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
printf "My IP address is %s\n" "$_IP"
fi
sudo modprobe 8188eu
exit 0
The interfaces file is this:
Code: Select all
pi@raspberrypi ~ $ cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
The wpa_supplicant.conf is:
Code: Select all
pi@raspberrypi ~ $ sudo cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="ID_here"
psk="pass_here"
}
The status is the following:
- ifconfig does not show any wlan0
- lsmod shows that the driver 8188eu is there
- lsusb shows that there is no Realtek USB dongle connected
BUT the blue light is on!
Then I clear the dmesg log running
Unplug and plug again the wifi dongle and I see this:
Code: Select all
pi@raspberrypi ~ $ dmesg
[ 397.249221] usb 1-1.4: new full-speed USB device number 4 using dwc_otg
[ 397.329193] usb 1-1.4: device descriptor read/64, error -32
[ 397.519168] usb 1-1.4: device descriptor read/64, error -32
[ 397.709171] usb 1-1.4: new full-speed USB device number 5 using dwc_otg
[ 397.789191] usb 1-1.4: device descriptor read/64, error -32
[ 397.979247] usb 1-1.4: device descriptor read/64, error -32
[ 398.169171] usb 1-1.4: new full-speed USB device number 6 using dwc_otg
[ 398.588995] usb 1-1.4: device not accepting address 6, error -32
[ 398.669186] usb 1-1.4: new full-speed USB device number 7 using dwc_otg
[ 399.088997] usb 1-1.4: device not accepting address 7, error -32
[ 399.089243] usb 1-1-port4: unable to enumerate USB device
The blue light is off at this point.
Do you have any idea on what is happening? Is the driver not the correct one?
PS: In case is needed, the booting dmesg is:
Code: Select all
pi@raspberrypi ~ $ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.18.11+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #781 PREEMPT Tue Apr 21 18:02:18 BST 2015
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine model: Raspberry Pi Model B Plus
[ 0.000000] cma: Reserved 8 MiB at 0x17800000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 98304
[ 0.000000] free_area_init_node: node 0, pgdat c083d364, node_mem_map d74f4000
[ 0.000000] Normal zone: 768 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 98304 pages, LIFO batch:31
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 97536
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0x10 bcm2708.serial=0x944dfaec smsc95xx.macaddr=B8:27:EB:4D:FA:EC bcm2708_fb.fbswap=1 bcm2708.disk_led_gpio=47 bcm2708.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 372252K/393216K available (5881K kernel code, 348K rwdata, 1868K rodata, 336K init, 733K bss, 20964K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 kB)
[ 0.000000] vmalloc : 0xd8800000 - 0xff000000 ( 616 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd8000000 ( 384 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc07997a0 (7750 kB)
[ 0.000000] .init : 0xc079a000 - 0xc07ee000 ( 336 kB)
[ 0.000000] .data : 0xc07ee000 - 0xc084513c ( 349 kB)
[ 0.000000] .bss : 0xc084513c - 0xc08fc8a8 ( 734 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:522
[ 0.000025] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483648000ns
[ 0.000075] Switching to timer-based delay loop, resolution 1000ns
[ 0.000358] Console: colour dummy device 80x30
[ 0.001440] console [tty1] enabled
[ 0.001486] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[ 0.001560] pid_max: default: 32768 minimum: 301
[ 0.001941] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.002005] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.003009] Initializing cgroup subsys memory
[ 0.003102] Initializing cgroup subsys devices
[ 0.003161] Initializing cgroup subsys freezer
[ 0.003212] Initializing cgroup subsys net_cls
[ 0.003262] Initializing cgroup subsys blkio
[ 0.003381] CPU: Testing write buffer coherency: ok
[ 0.003493] ftrace: allocating 19232 entries in 57 pages
[ 0.108302] Setting up static identity map for 0x553398 - 0x5533d0
[ 0.111145] devtmpfs: initialized
[ 0.128649] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 0.131674] pinctrl core: initialized pinctrl subsystem
[ 0.134357] NET: Registered protocol family 16
[ 0.139859] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.141321] bcm2708.uart_clock = 3000000
[ 0.144252] No ATAGs?
[ 0.144318] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.144382] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.144448] mailbox: Broadcom VideoCore Mailbox driver
[ 0.144611] bcm2708_vcio: mailbox at f200b880
[ 0.145064] bcm_power: Broadcom power driver
[ 0.145121] bcm_power_open() -> 0
[ 0.145152] bcm_power_request(0, 8)
[ 0.645867] bcm_mailbox_read -> 00000080, 0
[ 0.645913] bcm_power_request -> 0
[ 0.646111] Serial: AMBA PL011 UART driver
[ 0.646349] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev3
[ 1.033057] console [ttyAMA0] enabled
[ 1.096317] SCSI subsystem initialized
[ 1.100454] usbcore: registered new interface driver usbfs
[ 1.106243] usbcore: registered new interface driver hub
[ 1.111744] usbcore: registered new device driver usb
[ 1.118908] Switched to clocksource stc
[ 1.151163] FS-Cache: Loaded
[ 1.154479] CacheFiles: Loaded
[ 1.173748] NET: Registered protocol family 2
[ 1.179726] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 1.186906] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 1.193683] TCP: Hash tables configured (established 4096 bind 4096)
[ 1.200203] TCP: reno registered
[ 1.203472] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 1.209398] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 1.216056] NET: Registered protocol family 1
[ 1.221126] RPC: Registered named UNIX socket transport module.
[ 1.227092] RPC: Registered udp transport module.
[ 1.231929] RPC: Registered tcp transport module.
[ 1.236661] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.244279] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available
[ 1.252416] bcm2708_dma: DMA manager at f2007000
[ 1.257278] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[ 1.267011] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 1.273501] audit: initializing netlink subsys (disabled)
[ 1.279088] audit: type=2000 audit(1.040:1): initialized
[ 1.299780] VFS: Disk quotas dquot_6.5.2
[ 1.304125] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.313580] FS-Cache: Netfs 'nfs' registered for caching
[ 1.320750] NFS: Registering the id_resolver key type
[ 1.325930] Key type id_resolver registered
[ 1.330276] Key type id_legacy registered
[ 1.335677] msgmni has been set to 743
[ 1.342080] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 1.350102] io scheduler noop registered
[ 1.354085] io scheduler deadline registered (default)
[ 1.359830] io scheduler cfq registered
[ 1.366215] BCM2708FB: allocated DMA memory 57c00000
[ 1.371521] BCM2708FB: allocated DMA channel 0 @ f2007000
[ 1.382138] Console: switching to colour frame buffer device 82x26
[ 1.393953] bcm2708-dmaengine bcm2708-dmaengine: Load BCM2835 DMA engine driver
[ 1.403617] uart-pl011 dev:f1: no DMA platform data
[ 1.411064] vc-cma: Videocore CMA driver
[ 1.416673] vc-cma: vc_cma_base = 0x00000000
[ 1.423097] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 1.430175] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 1.450225] brd: module loaded
[ 1.461783] loop: module loaded
[ 1.466947] vchiq: vchiq_init_state: slot_zero = 0xd7800000, is_master = 0
[ 1.476387] Loading iSCSI transport class v2.0-870.
[ 1.484647] usbcore: registered new interface driver smsc95xx
[ 1.492315] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.699983] Core Release: 2.80a
[ 1.704717] Setting default values for core params
[ 1.711120] Finished setting default values for core params
[ 1.918387] Using Buffer DMA mode
[ 1.923298] Periodic Transfer Interrupt Enhancement - disabled
[ 1.930737] Multiprocessor Interrupt Enhancement - disabled
[ 1.937884] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 1.943855] Dedicated Tx FIFOs mode
[ 1.949337] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xd7c14000 dma = 0x57c14000 len=9024
[ 1.962397] FIQ FSM acceleration enabled for :
[ 1.962397] Non-periodic Split Transactions
[ 1.962397] Periodic Split Transactions
[ 1.962397] High-Speed Isochronous Endpoints
[ 1.985438] dwc_otg: Microframe scheduler enabled
[ 1.985551] WARN::hcd_init_fiq:412: FIQ on core 0 at 0xc03fad3c
[ 1.993153] WARN::hcd_init_fiq:413: FIQ ASM at 0xc03fb014 length 36
[ 2.001087] WARN::hcd_init_fiq:438: MPHI regs_base at 0xd8806000
[ 2.008800] dwc_otg bcm2708_usb: DWC OTG Controller
[ 2.015395] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[ 2.024381] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[ 2.031565] Init: Port Power? op_state=1
[ 2.037075] Init: Power Port (0)
[ 2.042288] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.050788] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.059679] usb usb1: Product: DWC OTG Controller
[ 2.065970] usb usb1: Manufacturer: Linux 3.18.11+ dwc_otg_hcd
[ 2.073425] usb usb1: SerialNumber: bcm2708_usb
[ 2.080594] hub 1-0:1.0: USB hub found
[ 2.086072] hub 1-0:1.0: 1 port detected
[ 2.092224] dwc_otg: FIQ enabled
[ 2.092248] dwc_otg: NAK holdoff enabled
[ 2.092262] dwc_otg: FIQ split-transaction FSM enabled
[ 2.092331] Module dwc_common_port init
[ 2.092952] usbcore: registered new interface driver usb-storage
[ 2.101177] mousedev: PS/2 mouse device common for all mice
[ 2.109269] bcm2835-cpufreq: min=700000 max=700000
[ 2.116007] sdhci: Secure Digital Host Controller Interface driver
[ 2.123914] sdhci: Copyright(c) Pierre Ossman
[ 2.130217] DMA channels allocated for the MMC driver
[ 2.168987] Load BCM2835 MMC driver
[ 2.176072] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.192176] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.200225] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.211887] usbcore: registered new interface driver usbhid
[ 2.221272] usbhid: USB HID core driver
[ 2.229352] TCP: cubic registered
[ 2.235508] Initializing XFRM netlink socket
[ 2.243674] NET: Registered protocol family 17
[ 2.250085] Key type dns_resolver registered
[ 2.257741] registered taskstats version 1
[ 2.263797] vc-sm: Videocore shared memory driver
[ 2.270249] [vc_sm_connected_init]: start
[ 2.277102] [vc_sm_connected_init]: end - returning 0
[ 2.285758] Waiting for root device /dev/mmcblk0p2...
[ 2.292894] Indeed it is in host mode hprt0 = 00021501
[ 2.304393] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.331061] mmc0: new high speed SDHC card at address b368
[ 2.349027] mmcblk0: mmc0:b368 NCard 3.73 GiB
[ 2.360318] mmcblk0: p1 p2
[ 2.424023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.435672] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 2.445975] devtmpfs: mounted
[ 2.452077] Freeing unused kernel memory: 336K (c079a000 - c07ee000)
[ 2.509211] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.517810] Indeed it is in host mode hprt0 = 00001101
[ 2.729593] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 2.738296] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.749182] hub 1-1:1.0: USB hub found
[ 2.758878] hub 1-1:1.0: 5 ports detected
[ 3.049320] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 3.169722] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 3.178714] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.208253] smsc95xx v1.0.4
[ 3.287366] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:4d:fa:ec
[ 4.165254] udevd[159]: starting version 175
[ 10.114324] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 10.567440] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 11.298681] random: nonblocking pool is initialized
[ 20.366677] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 21.843344] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1
[ 28.658488] Adding 102396k swap on /var/swap. Priority:-1 extents:2 across:2134012k SSFS
[ 29.717546] cfg80211: Calling CRDA to update world regulatory domain
[ 29.840914] RTL871X: module init start
[ 29.840958] RTL871X: rtl8188eu v4.3.0.8_13968.20150417
[ 29.840973] RTL871X: build time: Sep 13 2015 22:14:30
[ 29.843974] usbcore: registered new interface driver rtl8188eu
[ 29.844015] RTL871X: module init ret=0