LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-07-2014, 07:16 AM   #1
s4m
LQ Newbie
 
Registered: Aug 2014
Posts: 9

Rep: Reputation: Disabled
Wireless card unavailable in Debian, but works in Ubuntu


Hello guys,

I have a liittle problem with a wireless card of a cheap HP laptop. It works perfectly well out of the box in Ubuntu 14.04, but not in Debian Jessie.

Here is what I managed to find.


In Ubuntu it looks like that:

root@ubuntu:~# dmesg | grep 02:00.0
[ 0.986323] pci 0000:02:00.0: [10ec:8179] type 00 class 0x028000
[ 0.986347] pci 0000:02:00.0: reg 0x10: [io 0x2000-0x20ff]
[ 0.986383] pci 0000:02:00.0: reg 0x18: [mem 0x90700000-0x90703fff 64bit]
[ 0.986486] pci 0000:02:00.0: supports D1 D2
[ 0.986490] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.986542] pci 0000:02:00.0: System wakeup disabled by ACPI

root@ubuntu:~# lspci -s 02:00.0 -v
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter (rev 01)
Subsystem: Hewlett-Packard Company Device 197d
Flags: bus master, fast devsel, latency 0, IRQ 17
I/O ports at 2000 [size=256]
Memory at 90700000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 00-e0-4c-ff-fe-81-91-01
Capabilities: [150] Latency Tolerance Reporting
Kernel driver in use: rtl8188ee


Whereas in Jessie it looks like that:

root@debian:~# dmesg | grep 02:00.0
[ 1.109622] pci 0000:02:00.0: [eaea:eaea] type 6a class 0xeaeaea
[ 1.109628] pci 0000:02:00.0: unknown header type 6a, ignoring device

root@debian:~# lspci -s 02:00.0 -v -H1
02:00.0 Class eaea: Device eaea:eaea (rev ea) (prog-if ea)
!!! Unknown header type 6a

It's only available in the output of lspci with -H1 option.


I'm aware that header type 6a is incorrect, but is there any workaround or something? How do I make the card work in Debian? It seems to be really interesting to find out how Ubuntu does that and use the same technique in Debian.

Thank you in advance for any help, it's greatly appreciated.
 
Old 08-07-2014, 07:49 AM   #2
goumba
Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Jessie (8) and Sid (unstable)
Posts: 743
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Add the non-free repo to your /etc/apt/sources.list file

Code:
deb ftp://ftp.us.debian.org/debian/ testing main non-free
then install the firmware-realtek package, and you should be set.

Code:
apt-get install firmware-realtek
Quote:
How do I make the card work in Debian? It seems to be really interesting to find out how Ubuntu does that and use the same technique in Debian.
Ubuntu will install non-free drivers and firmware, Debian will not even enable the repository by default.

Last edited by goumba; 08-07-2014 at 07:50 AM.
 
Old 08-07-2014, 08:05 AM   #3
s4m
LQ Newbie
 
Registered: Aug 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thanks for quick reply.
Firmware installed, driver rtl8188ee.ko is available and I can modprobe it. Unfortunately, it's useless since kernel does not "know" there is a wireless card in the system.


Quote:
Originally Posted by goumba View Post
Add the non-free repo to your /etc/apt/sources.list file

Code:
deb ftp://ftp.us.debian.org/debian/ testing main non-free
then install the firmware-realtek package, and you should be set.

Code:
apt-get install firmware-realtek


Ubuntu will install non-free drivers and firmware, Debian will not even enable the repository by default.
 
Old 08-07-2014, 09:36 AM   #4
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 15 , Linux-Lite 2.4, Slackel 14.1, ChromeOS
Posts: 3,542
Blog Entries: 19

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
Just in case you are a loosey goosey linux user like I am.

http://www.linuxquestions.org/questi...zy-4175505021/

Maybe a newer kernel than Jessie will

Quote:
kernel does not "know" there is a wireless card in the system.
You can always un-install image and headers if it does not work out for you.
 
Old 08-07-2014, 12:32 PM   #5
propofol
Member
 
Registered: Nov 2007
Location: Seattle
Distribution: Debian Wheezy & Jessie; Ubuntu
Posts: 320

Rep: Reputation: 57
What happens if you do "modprobe rtl8188ee" as root user? This is the driver for that chipset: http://wireless.kernel.org/en/users/Drivers/rtl819x
 
Old 08-07-2014, 02:21 PM   #6
s4m
LQ Newbie
 
Registered: Aug 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
rokytnji,
Thank you for your advice.
I use current Jessie kernel 3.14-2 with no luck, however it works in Ubuntu with 3.13-something. Hence I believe it's some option in kernel or systemd which do the trick rather than the newer kernel itself.


propofol,
Here it is
Quote:
root@debian: # modprobe rtl8188ee
root@debian: # lsmod
Module Size Used by
rtl8188ee 83429 0
rtl_pci 25898 1 rtl8188ee
rtlwifi 50458 2 rtl_pci,rtl8188ee
mac80211 464019 3 rtl_pci,rtlwifi,rtl8188ee
cfg80211 412187 2 mac80211,rtlwifi
binfmt_misc 16949 1
nfsd 254693 2
auth_rpcgss 51240 1 nfsd
oid_registry 12419 1 auth_rpcgss
nfs_acl 12511 1 nfsd
nfs 187768 0
lockd 79321 2 nfs,nfsd
fscache 45542 1 nfs
sunrpc 228923 6 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
intel_rapl 17356 0
coretemp 12854 0
kvm 388172 0
uvcvideo 78960 0
videobuf2_vmalloc 12816 1 uvcvideo
videobuf2_memops 12519 1 videobuf2_vmalloc
videobuf2_core 35303 1 uvcvideo
crc32_pclmul 12915 0
crc32c_intel 21809 0
videodev 117963 2 uvcvideo,videobuf2_core
media 18303 2 uvcvideo,videodev
joydev 17063 0
i915 718092 3
ghash_clmulni_intel 12978 0
hp_wmi 13283 0
sparse_keymap 12818 1 hp_wmi
rfkill 18867 3 cfg80211,hp_wmi
evdev 17445 15
cryptd 14516 1 ghash_clmulni_intel
snd_hda_codec_hdmi 40955 1
psmouse 90422 0
serio_raw 12849 0
rtsx_pci_ms 16898 0
memstick 13696 1 rtsx_pci_ms
pcspkr 12595 0
snd_hda_codec_realtek 50301 1
i2c_i801 16964 0
ac 12668 0
video 17804 1 i915
snd_hda_codec_generic 59065 1 snd_hda_codec_realtek
hp_accel 25200 0
wmi 17339 1 hp_wmi
battery 13101 0
shpchp 31121 0
lis3lv02d 17883 1 hp_accel
snd_hda_intel 43768 3
drm_kms_helper 39892 1 i915
hp_wireless 12491 0
drm 236561 4 i915,drm_kms_helper
input_polldev 12906 1 lis3lv02d
snd_hda_codec 100159 4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
snd_hwdep 13148 1 snd_hda_codec
snd_pcm 84566 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_timer 26614 1 snd_pcm
snd 61094 14 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_c odec,snd_hda_intel
soundcore 13026 1 snd
i2c_algo_bit 12751 1 i915
button 12944 1 i915
i2c_designware_platform 12645 0
i2c_designware_core 12813 1 i2c_designware_platform
processor 28221 2
loop 26605 0
fuse 78839 3
parport_pc 26300 0
ppdev 16782 0
lp 17074 0
parport 35749 3 lp,ppdev,parport_pc
autofs4 35575 2
ext4 473554 5
crc16 12343 1 ext4
mbcache 13082 1 ext4
jbd2 82560 1 ext4
dm_mod 89276 18
hid_generic 12393 0
usbhid 44473 0
sg 29972 0
sd_mod 44346 2
crc_t10dif 12431 1 sd_mod
sr_mod 21898 0
crct10dif_generic 12581 0
cdrom 39232 1 sr_mod
rtsx_pci_sdmmc 21151 0
crct10dif_pclmul 13387 1
crct10dif_common 12356 3 crct10dif_pclmul,crct10dif_generic,crc_t10dif
r8169 60070 0
mii 12675 1 r8169
rtsx_pci 37719 2 rtsx_pci_ms,rtsx_pci_sdmmc
mfd_core 12601 1 rtsx_pci
fan 12681 0
thermal 17468 0
thermal_sys 27642 4 fan,video,thermal,processor
i2c_hid 17305 0
hid 94034 3 i2c_hid,hid_generic,usbhid
i2c_core 28324 8 drm,i915,i2c_i801,i2c_hid,i2c_designware_platform,drm_kms_helper,i2c_algo_bit,videodev
ahci 25099 1
libahci 27116 1 ahci
sdhci_acpi 12851 0
sdhci 35107 1 sdhci_acpi
mmc_core 94043 3 sdhci,sdhci_acpi,rtsx_pci_sdmmc
xhci_hcd 148828 0
usbcore 178937 3 uvcvideo,usbhid,xhci_hcd
usb_common 12440 1 usbcore
libata 168945 2 ahci,libahci
scsi_mod 183017 4 sg,libata,sd_mod,sr_mod
root@debian: # lspci | grep -i wireless
root@debian: # iwconfig
eth0 no wireless extensions.

lo no wireless extensions.
 
Old 08-07-2014, 04:02 PM   #7
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 15 , Linux-Lite 2.4, Slackel 14.1, ChromeOS
Posts: 3,542
Blog Entries: 19

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
And like you said.

Code:
lspci -knn
won't see your wireless card?

Maybe try

http://kmuto.jp/debian/hcl/

and check on any hoop jumping needed to get your wireless card to work in Debian.

Quote:
Hence I believe it's some option in kernel or systemd which do the trick rather than the newer kernel itself.
The way I roll is I try first and get first hand experience on what may be going on. Guessing without trying
just spins my wheels.
That kernel I showed you may have the mod already done. It cannot hurt to try it.
Just a dpkg -i away and you can always remove if time was wasted installing it.
Don't forget sudo update-grub either.

Also. I play with Liqourix kernels also from time to time when a AntiX kernel won't see my internal usb wifi chip on my
exotic M&A companion netbook. I have ran into that and I used my cable ethernet to run smxi and grab me a sid liqourix kernel
to rectify that problem.

I don't see you recompiling debians flags to pick your card when it just seems easier to run with a different kernel.
I'm kinda busy with a Dell XT2 Tablet netbook presently without a hard drive so I am making a persistent usb for it
to test out function on it before I invest any more pocket change into it. At least on the outside and bios self test.
Things look cherry so far.

Last edited by rokytnji; 08-07-2014 at 04:06 PM.
 
Old 08-07-2014, 06:56 PM   #8
propofol
Member
 
Registered: Nov 2007
Location: Seattle
Distribution: Debian Wheezy & Jessie; Ubuntu
Posts: 320

Rep: Reputation: 57
Seems odd that the correct drivers load but no wlan0 device. "sudo dmesg | grep -i "rtl8188ee\|wlan" might help to see what the problem is.

Regards,
Stefan
 
Old 08-08-2014, 04:08 PM   #9
s4m
LQ Newbie
 
Registered: Aug 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
rokytnji,
Quote:
won't see your wireless card?
Exactly, it looks like this:
Quote:
root@debian: # lspci -knn -s 02:00.0 -v
root@debian: # lspci -knn -H1 -s 02:00.0 -v
02:00.0 Class [eaea]: Device [eaea:eaea] (rev ea) (prog-if ea)
!!! Unknown header type 6a
Quote:
That kernel I showed you may have the mod already done. It cannot hurt to try it.
You are right, I'll give it a try and let you know. Thank you.


Stefan,
Thank you for your help. Unfortunately, no luck here:
Quote:
root@debian: # dmesg | grep -i "rtl8188ee\|wlan"
root@debian: #
The only useful error from dmesg was the one in the first post of this thread.



By the way, if I do something like this:
Quote:
root@debian:/home/gleb# lspci -n -H1 -s 02:00.0
02:00.0 eaea: eaea:eaea (rev ea)
Of course, kmuto.jp cannot recognize this device as well, which proves something is very bad with this device. But Ubuntu works somehow.

Last edited by s4m; 08-08-2014 at 04:15 PM.
 
Old 08-08-2014, 04:36 PM   #10
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian Jessie / sid
Posts: 1,471

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
Only skimmed...

I got fedup with broadcom wifi in my laptop a few years ago...

I could get it to work, but was never 'great'
So I ended up buying a new card for it, wasn't much,, 20 (GBP)

Research and see what it would cost for linux friendly card
But, I am suprised realtec is a problem .. but like I said, skimed (quite fast)

Actually, I might start logging working 'out of the box' cards
I work with many (mostly old, some far too old) laptops
Sometimes I boot debian (great for fixing windows)
Most of the time wifi just works.. I'll amass data on that
 
Old 08-08-2014, 11:05 PM   #11
goumba
Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Jessie (8) and Sid (unstable)
Posts: 743
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Quote:
Originally Posted by s4m View Post
Thanks for quick reply.
Firmware installed, driver rtl8188ee.ko is available and I can modprobe it. Unfortunately, it's useless since kernel does not "know" there is a wireless card in the system.
According to the Debian Wiki, all that's needed is firmware. Unfortunately the 8188ee is not mentioned specifically. Yet the package info for firmware-realtek includes the 8188ee.

https://wiki.debian.org/rtl819x

Code:
$ apt show firmware-realtek
Description: Binary firmware for Realtek wired and wireless network adapters
 This package contains the binary firmware for some Ethernet adapters with
 the RTL8111/RTL8168 chips supported by the r8169 driver; and wireless
 network cards with the RTL8188, RTL8192, RTL8712, RTL8723 and RTL8821
 chips supported by the r8192_pci, r8192s_usb, r8712u, rtl8188eu,
 rtl8192ce, rtl8192cu, rtl8192de, rtl8192se, rtl8723ae, rtl8723au,
 rtl8723be and rtl8821ae drivers.
...
  * Realtek RTL8188EE firmware (rtlwifi/rtl8188efw.bin)
...

Last edited by goumba; 08-08-2014 at 11:07 PM.
 
Old 08-09-2014, 11:38 AM   #12
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 15 , Linux-Lite 2.4, Slackel 14.1, ChromeOS
Posts: 3,542
Blog Entries: 19

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
In case you misunderstood my kmuto post. They have a listing of Laptops there.
You can look through their listing.

Folks there have posted fixes. Maybe yours is there, or not. It takes a little investigating.
All it is, is a trail that might lead to something.

I am kinda in wonderment on how lspci cannot see your wifi chip in debian, but can in Ubuntu which is based in Debian.
In the blog section here on this forum. Exton has built 3.16 Ubuntu 64 bit kernels that he has posted download links
in his sites. If you never heard of Exton. Here is his stie.

http://extonlinux.wordpress.com/

To be honest. I am kinda lost on why you are having such problems. It is almost like a corrupted downloaded iso problem
where the md5sum hash marks are not matching. Which makes me wonder if you did a md5sum of Debians iso before you made a live
bootable image to do your install.
 
Old 08-10-2014, 02:30 PM   #13
s4m
LQ Newbie
 
Registered: Aug 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
rokytnji,
Quote:
In case you misunderstood my kmuto post
Well, I kinda did, sorry. Thank you very much for the clarification.

Quote:
You can look through their listing.
Unfortunately, could not find it there. Neither laptop (HP 15-r052sr) nor the wireless card.

Quote:
I am kinda in wonderment on how lspci cannot see your wifi chip in debian, but can in Ubuntu which is based in Debian.
It's really interesting, that's why I brought this topic up instead of just buying one of those $10 usb wifi cards.

Quote:
Exton has built 3.16 Ubuntu 64 bit kernels that he has posted download links in his sites
Did not have time to try other kernels yet, sorry. I'll let you know as soon as I have some results.

Quote:
It is almost like a corrupted downloaded iso problem where the md5sum hash marks are not matching. Which makes me wonder if you did a md5sum of Debians iso before you made a live bootable image to do your install.
Great idea, thanks again. Honestly, I did not check the hash. However, the system was installed from Wheezy iso and then upgraded to Jessie with "apt-get dist-upgrade". That's why I believe it safe to assume it's not the case. Please correct me if I'm wrong.
 
Old 08-10-2014, 06:53 PM   #14
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 15 , Linux-Lite 2.4, Slackel 14.1, ChromeOS
Posts: 3,542
Blog Entries: 19

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
Quote:
That's why I believe it safe to assume it's not the case. Please correct me if I'm wrong.
To be honest. The recognition of hardware. In the limited Bikers understanding of using Linux.
Is responsible for hardware recognition. If I am off base. Any other member can correct me in another post.
I realize libs and scripts are also tied in with this but the base of the pyramid is the linux kernel.

So. On a dist-upgrade. If all that gets altered is all the libs and packages in a debian install. But the kernel
stays the same. Ergo. A corrupted downloaded kernel will not show on a dist-upgrade.

This is all airy fairy speculation on my part. Because I am a self taught linux user who did not know what a computer was or never
powered one on till I found out ebay sold Harley Parts and my hard drive died.

Now I am a linux user because of that.
 
Old 08-12-2014, 12:32 AM   #15
s4m
LQ Newbie
 
Registered: Aug 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
So. On a dist-upgrade. If all that gets altered is all the libs and packages in a debian install. But the kernel
stays the same. Ergo. A corrupted downloaded kernel will not show on a dist-upgrade.
I'm pretty sure kernel was updated as well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
which wireless card works wuth Linux Ubuntu mchenini Linux - Newbie 1 11-05-2010 03:55 PM
Which wireless NIC PCI card works good with Ubuntu? abefroman Linux - Hardware 3 08-06-2008 01:47 PM
Wireless Card That Works With Ubuntu - Edimax-EW-7128G? Boffy Linux - Hardware 0 08-06-2008 11:28 AM
Following debian dist-upgrade wireless card no longer works, ifconfig can't bring up scheidel21 Linux - Wireless Networking 2 12-01-2007 04:52 AM
What 802.11g wireless card works well with Debian? rrowsome Linux - Hardware 1 09-08-2004 03:35 AM


All times are GMT -5. The time now is 06:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration