Extra drivers for Puppy 4.1 with 2.6.25.16 kernel

For drivers and kernel modules.
Post Reply
Message
Author
tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

Extra drivers for Puppy 4.1 with 2.6.25.16 kernel

#1 Post by tempestuous »

These drivers are for Puppy4.1 with the 2.6.25.16 kernel. They are not compatible with Puppy4.1-retro.

The 2.6.25.xx kernel has completely overhauled wifi drivers, and there are now some extra drivers available as standard in the kernel for previously unsupported wifi chips, namely:
Intel IPW4965
Marvell Libertas - in USB, Compact Flash card, and Secure Digital card forms.
PrismGT-softmac versions
Broadcom USB versions
Realtek RTL8187 (USB)

Regarding improved wifi drivers:
The new rtl8180 driver for Realtek PCI/PCMCIA devices fully supports the recent RTL8185L chipsets, and the Belkin F5D7000 v7 PCI and F5D7010 v7 Cardbus devices will be properly recognised by this driver.

The hostap_pci and hostap_cs modules now properly support Prism3 SSF chipsets found in the D-Link PCI DWL-520 rev.E1 and Cardbus DWL-650 rev.P
... but you need to correctly load the firmware, as explained later in this thread -
http://www.murga-linux.com/puppy/viewto ... 702#276702

In terms of third-party drivers, Barry has added:
Wifi - Ralink RT2860 (PCI/Cardbus), Ralink RT2870 (USB), TexasInstruments acx-mac80211 (CardBus/PCI/USB)
Ethernet - Realtek RTL8101E/RTL8102E, Atheros ATL1E & ATL2
Webcam - GSPCA, plus various others including updated Logitech QuickCam

So Puppy 4.1 is well equipped with device drivers, and the only extras needed are really specialised ones, as follows.
Last edited by tempestuous on Tue 26 Oct 2010, 13:51, edited 3 times in total.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#2 Post by tempestuous »

For the ASUS Eee 700-series (but not 701SD) and 900, 900A, 900HA, 901GO, 904HA, 904HD, 1000HA, 1000HD:
Ethernet is supported out-of-the-box by the new atl2 module, and the webcam is supported by the new gspca module.

But the wifi chipset (Atheros AR5007EG) requires a non-standard variant of the MADWiFi (ath_pci) driver.
Quite a few other recent notebook computers now use this chipset, too. Obviously they, too, will be supported by this driver.
This dotpet package contains a suitably modified /etc/rc.d/MODULESCONFIG file so that the new ath_pci module will be used in preference to the ath5k module.
But this madwifi package should ONLY be used with the AR5007EG variant, all "standard" Atheros wifi devices will be supported by the ath_pci module (or ath5k module) already contained in Puppy 4.1.

The source code is from here
http://snapshots.madwifi-project.org/ma ... -0.10.5.6/

UPDATE July 1 2009:
After 4000 downloads, I thought it was time to update to the latest driver revision - r4031.

Some people get "no wireless interface detected" in the Network Wizard after installing this package.
Forum member glassparrot reports that to get this driver installed and working you must first disable the Eee's wifi device in bios, then later re-enable the wifi device after the driver is installed -
http://www.murga-linux.com/puppy/viewto ... 066#208066
I cannot see how or why this method would make any difference ... but if it works, great!

The latest version of this madwifi driver also patched for compatibility with the wifi injection/cracking utility, Aircrack-ng. Attached to later post -
http://murga-linux.com/puppy/viewtopic. ... 934#275934
Last edited by tempestuous on Wed 01 Jul 2009, 11:22, edited 7 times in total.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#3 Post by tempestuous »

Ethernet for the ASUS Eee 901, 1000, 1000H, and 1000HE
is supported out-of-the-box by the new Atheros atl1e module.
Wifi is supported out-of-the-box by the new Ralink rt2860sta module.

Eee internal microphone (all models)
The mic in the Eee is problematic. With older versions of the ALSA audio driver it was necessary to load the snd-hda-intel driver with extra parameters. This was achieved by adding either of these lines to /etc/modprobe.conf

Code: Select all

options snd-hda-intel model=3stack-dig
or

Code: Select all

options snd-hda-intel model=auto
But with Puppy 4.1's version of ALSA (ver 1.0.16rc2) a modified snd-hda-intel audio driver is necessary. Early Eee models require a simple patch from here
http://forum.eeeuser.com/viewtopic.php? ... 19#p298419
The Eee 901, 900A, 703 (and probably all updated models since then) have a newer Intel audio chipset, requiring a more extensive patch from here
https://bugs.launchpad.net/ubuntu/+sour ... bug/259878
Attached is the modified Eee audio driver for Puppy 4.1.x/4.2, with both patches applied.
After installing this dotpet, reboot.
Once the updated driver is installed, apparently some alsamixer settings need to be adjusted -
https://bugs.launchpad.net/ubuntu/+sour ... omments/15
Attachments
eee-snd-hda-intel-patched-k2.6.25.16.pet
for Puppy 4.1.x, updated April 10 2009
(119.08 KiB) Downloaded 6808 times
Last edited by tempestuous on Thu 21 May 2009, 00:09, edited 8 times in total.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#4 Post by tempestuous »

Hotkeys on all ASUS Eee models:
Hotkeys on the Eee should be supported by the attached version of the "asus_acpi" module with associated "pciehp" (PCI Express Hot Plug Controller)module.
I hacked the standard asus_acpi source code by comparing it with the version from the Asus website.
The pciehp module is a standard kernel module, but it is not enabled in Puppy's standard kernel configuration.

And the attached "acpid" daemon package is also necessary.

Hotkeys supported:

Fn+F2: Toggle Wireless on/off
Fn+F5 external monitor on/off (NOT TESTED)
Fn+F7: Toggle Mute/Unmute (NOT WORKING)
Fn+F8: Decrease Volume Level
Fn+F9: Increase Volume Level

The Mute/Unmute function doesn't work because Puppy's version of the ALSA snd-hda-intel driver fails to respond to the "amixer set Master toggle" command. This could be fixed by creating a script which determines the volume state of the master channel, then use volume adjustments to respond accordingly, but I couldn't be bothered.

I didn't add the Fn+F1 suspend-to-ram function, because this is likely to crash Puppy.
If you want to experiment with Puppy-compatible suspend, there is a script here -
http://www.murga-linux.com/puppy/viewtopic.php?t=13410
but looking through that script I see that it's probably not compatible with Puppy4.x
Further experimentation is required.

INSTRUCTIONS:
Install eee-asus_acpi-pciehp-k2.6.25.16.pet
plus the ACPI daemon (acpid) package compatible with your wifi device (ath_pci, r8180, or rt2860sta).
The acpid dotpet will add the following 3 commands to your /etc/rc.d/rc.local

Code: Select all

modprobe pciehp pciehp_force=1
modprobe asus_acpi
acpid
If you haven't done so already, configure your wifi connection with the Network Wizard.
Reboot. Enjoy.

Toshiba laptop owners, you can adapt the instructions here for your situation.
Instead of loading the "asus_acpi" module, load "toshiba_acpi" instead.
And in /etc/acpi/wlan.sh change "wlan_control=/proc/acpi/asus/wlan" to "wlan_control=/proc/acpi/toshiba/wlan", and change the "ath_pci" module references to the name of the relevant wifi driver for your inbuilt wifi device.

UPDATE July 18 2009
acpid packages revised so that for wifi toggle ON, rc.network is run without the "restart" case.
jakfish reports that network re-connection is more reliable this way.
Attachments
acpid-Eee-ath_pci.pet
(25.97 KiB) Downloaded 4876 times
acpid-Eee-r8180.pet
(25.87 KiB) Downloaded 4083 times
acpid-Eee-rt2860sta.pet
(25.88 KiB) Downloaded 4163 times
eee-asus_acpi-pciehp-k2.6.25.16.pet
for Puppy 4.1
(28.07 KiB) Downloaded 5604 times
Last edited by tempestuous on Sat 18 Jul 2009, 05:34, edited 6 times in total.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#5 Post by tempestuous »

Finally on the subject of the ASUS Eee, here is the eee kernel module to control the fan, FSB, and voltage, and read out the CPU temperature.
Once installed, refer to /root/my-documents/eeepc-README.txt for instructions.
Additional information from the module's author -
http://forum.eeeuser.com/viewtopic.php?id=9797

Note especially that this is an experimental driver, and if you disable your automatic fan control it's possible to DESTROY your Eee!
Fan speed instructions thanks to jakfish:
To enable manual control of the fan, do this

Code: Select all

echo 1 > /proc/eee/fan_manual
Now you can control the speed of the fan using values between 0 and 100. So if you want to set your fan speed at 50% do this

Code: Select all

echo 50 > /proc/eee/fan_speed
To turn off the fan do this

Code: Select all

echo 0 > /proc/eee/fan_speed
Of course, this is dangerous. jakfish recommends that should disable the fan only if you have conky running with "modprobe thermal" so you can monitor your CPU temperature.

UPDATE Oct 27 2008
Dougal has created a fan control script and configuration gui here
http://www.murga-linux.com/puppy/viewtopic.php?t=34886
Attachments
eee-fan-CPU-0.2-k2.6.25.16.pet
for Puppy 4.1
(4.54 KiB) Downloaded 4797 times
Last edited by tempestuous on Mon 27 Oct 2008, 10:17, edited 2 times in total.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#6 Post by tempestuous »

There is a very recent wifi chipset from Realtek called RTL8187SE, which is found in the MSI Wind U100 mini-notebook computer and ASUS Eee 701SD. This is a miniPCI wifi device, not to be confused with the RTL8187 USB chipset.
There is a proprietary driver for this chipset (at beta stage) which I now attach.
After installing this dotpet, reboot. The new driver is called "r8180", and will now appear in the Network Wizard.

This dotpet package adds a configuration line to /etc/modprobe.conf to ensure that all associated encryption modules are loaded.

A word of caution: apparently the MSI Wind is sold with 3 different wifi adaptors; as well as the RTL8187SE there is also a version with Ralink wifi chipset, and one with AzureWave chipset.
http://forums.msiwind.net/post41605.html#p41605

Forum member growler reports that the Fn+F11 keys must be pressed to turn on the wifi device.
If you find that a wifi connection is unsuccessful, it might just be that the final stage of configuration, DHCP, has failed. A possible workaround is to take the interface down and bring it back up again, like this

Code: Select all

ifconfig wlan0 down
ifconfig wlan0 up
now try to obtain an IP address again with dhcpcd -

Code: Select all

dhcpcd wlan0
UPDATE Nov 2 2008
The Sep 4 version of the proprietary rtl8187se driver from Realtek was found to fail under Puppy 4.1, but this same source code has recently been bugfixed and improved by forum member coffelius on the MsiWind forum. The updated source code is from here -
http://code.google.com/p/msi-wind-linux/
growler has tested this updated driver in Puppy 4.1 and it appears to be working well. Driver now attached.

Ethernet on the MSI Wind is supported out-of-the-box by the new r8101 module.
Attachments
rtl8187se-coffelius0.4-k2.6.25.16.pet
for Puppy 4.1
(115.66 KiB) Downloaded 9584 times
Last edited by tempestuous on Sun 18 Jan 2009, 02:01, edited 4 times in total.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#7 Post by Béèm »

Nice info in this thread. Thank you.
Maybe the thread should be made sticky to have the full attention.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#8 Post by Aitch »

Nice info in this thread. Thank you.
2nd that

well done tempestuous - you really are a wifi star

Aitch

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#9 Post by Lobster »

:) Tempestuous has championed and developed our wi-fi capacity for years now. Another trusted developer improving the Puppy experience, deserves our many thanks . . .

Major Software upgrades for 4.1
http://www.murga-linux.com/puppy/viewto ... 164#235164

Most up to date software links
http://tmxxine.com/wik/wikka.php?wakka=DingoAddons
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

magerlab
Posts: 739
Joined: Sun 08 Jul 2007, 20:08

#10 Post by magerlab »

really great forum, i say again!
i just was looking for drivers for eee pc for a new kernel of puppy 4.1 :D

will try tomorrow

Dpup
Posts: 83
Joined: Tue 05 Aug 2008, 23:26

Puppy 4.1

#11 Post by Dpup »

Installed Puppy 4.1 on my two ASUS Eee 4G's along with the Madwifi and function key patches described above. Works fine with my WPA2 TKIP wireless, but on reboot the wifi does not reconnect. Is there another tweak I missed?

The wifi connect on boot works consistently in Pupeee b4 which I have been using for several months.

A second separate but smaller problem is that shutdown does not always complete. I do a "hard" power off to shut down when it occurs.

Puppy 4.1 works great on my HP and Acer laptop dual boot with Vista from USB flash drive, and boots and auto connects wifi in under 30 seconds.

Thanks for all the great work.

Dpup

dmpop
Posts: 11
Joined: Sat 31 May 2008, 16:08

#12 Post by dmpop »

Thank you very much, tempestuous for your nifty .pets!

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

Re: Puppy 4.1

#13 Post by tempestuous »

Dpup wrote:but on reboot the wifi does not reconnect.
That's a Network Wizard issue. You should post that problem in Dougal's thread -
http://www.murga-linux.com/puppy/viewtopic.php?t=31522
there's probably a way to debug the problem.
Dpup wrote:A second separate but smaller problem is that shutdown does not always complete.
Yeah, forum member jakfish is doing some tests on that. Hopefully we can post a solution soon.

mawebb88
Posts: 246
Joined: Sun 13 Jul 2008, 09:54
Location: France nr Lyon

Puppy 4.1 Acer 5100 Laptop wireless not working

#14 Post by mawebb88 »

Puppy 4.00 worked fine (from a USB stick) but when I upgraded to 4.1 (not the retro) the wireless interface is recognized but the wireless scanner did not not find and networks (there are and the Laptop's wireless is switched on).

The both the scanner in the new Network Wizard and Pwireless fail to find any networks (including my router).

Tried all the usual things from a command line (ifup/down dhcpcd etc) but no joy. So I have plugged in a Ethernet wire to send this.

Installed the Network Wizard from Puppy 4.00 in 4.1 but still no joy scanning wireless networks.

The correct module is used as far as I can tell (at5k_pci. Windows reports the card as Atheros AR5005G using driver ar5211.sys).

Tried to go down the Ndiswapper route but there is a problem with the wizard. When it goes to the open file dialogue box it comes up with an error about could not find a directory(several times). Just tried to repeat this and the error has gone (think is was PUPPYLASTLOCATON?).

So just got Ndiswrapper working (still with the 4.00 wizard). Will break there and go back to 4.1 wizard and try all over again.

Mike

BTW many thanks for all your effort. Puppy is great and the speed of booting 4.1 is brilliant.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#15 Post by tempestuous »

mawebb88, since your wifi chipset is not an AR5007EG, then your query is not relevant to this thread.
Your answer is here
http://www.murga-linux.com/puppy/viewto ... 976#237976

Please everyone, this thread is about specialized drivers.

mawebb88
Posts: 246
Joined: Sun 13 Jul 2008, 09:54
Location: France nr Lyon

re: Puppy 4.1 Acer 5100 Laptop wireless not working

#16 Post by mawebb88 »

Thanks tempestuous.

Had a look at the link you supplied:

http://www.murga-linux.com/puppy/viewto ... 976#237976

Slightly improvement using the ath_pci drivers but still having problems with the Wireless network scan using the new 4.1 Network Wizard. Occasionally finds a wireless network (but not mine). Re-scanning give very inconsistence results. But the 4.00 Network wizard installed on 4.1 scans correctly.

But I cannot save a profile so each boot have to go through the configuration again. Given up and gone completely back to Puppy 4.00. Pity.

Mike

User avatar
GeorgR
Posts: 26
Joined: Wed 12 Sep 2007, 11:26
Location: Düsseldorf, Germany

MSI WIND U100 No WLAN

#17 Post by GeorgR »

Thanks for the driver.
But no luck.

MSi WIND U100 with RTL8187SE, Puppy 4.1, WLAN activated:

Tempestuous PET installed, reboot => no wlan driver installed

With growler PET the wlan hardware is recognized and even network scanning shows the availabe access points.
But DHCP fails.
http://murga-linux.com/puppy/viewtopic. ... 9&start=19

What is wrong with my wind?
(with xp wlan is running without any problems)

User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

#18 Post by Dougal »

tempestuous wrote:I didn't add the Fn+F1 suspend-to-ram function, because this is likely to crash Puppy.
If you want to experiment with Puppy-compatible suspend, there is a script here -
http://www.murga-linux.com/puppy/viewtopic.php?t=13410
but looking through that script I see that it's probably not compatible with Puppy4.x
Further experimentation is required.
I wouldn't recommend trying to get suspend working on any of those machines with the internal flash drives.
When you shut down (including suspend), the USB controller is reset and thus the usb devices get renamed... so it won't resume.
There's a kernel config option to help with that (CONFIG_USB_PERSIST), but even with that I couldn't get it to resume properly on the Classmate (I could resume with an initrd, but if I had any mounted partitions they disappeared after resume, thus resuming with a proper system didn't work...).
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

Re: MSI WIND U100 No WLAN

#19 Post by tempestuous »

GeorgR wrote:Tempestuous PET installed, reboot => no wlan driver installed
Puppy should automatically load the correct driver (r8180).
But if not, try to manually load the r8180 module in the Network Wizard.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#20 Post by tempestuous »

Oct 9 2008.
I just revised the acpid packages so that network re-connection after switching the wifi device back on will be more reliable.

Post Reply