View previous topic :: View next topic |
Author |
Message |
hakanekat n00b
Joined: 13 Jan 2014 Posts: 12 Location: Kyoto, Japan
|
Posted: Tue Jan 14, 2014 3:09 pm Post subject: How can I build old drivers? |
|
|
I have been installing Gentoo on iMac DV, an old G3 machine.
The wireless drivers I need, airport and orinoco, are on the installation CD and I can use wifi connection.
However, I cannot build the drivers because they don't appear on the configuration menu on 3.10.7-gentoo.
I tried to add "CONFIG_APPLE_AIRPORT=m" to .config manually with a editor.
However, it seemed to be deleted at the stage of make.
Although I have confirmed the source file of the driver, airport.c in the kernel source,
I cannot find the way how to build the driver for my old iMac.
Please show me the way.
Regards, _________________ Hiroshi Takenaka, Kyoto, 617-0833 Japan |
|
Back to top |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Tue Jan 14, 2014 3:33 pm Post subject: Re: How can I build old drivers? |
|
|
hakanekat wrote: | I tried to add "CONFIG_APPLE_AIRPORT=m" to .config manually with a editor. |
You are strongly discouraged to do this as, among many things, it just does not automagically care of dependencies.
Code: | $ cat /usr/src/linux/.config
#
# Automatically generated file; DO NOT EDIT. |
I cannot really tell about 3.10.7 precisely, however, on my 3.10.24 :
Symbol: APPLE_AIRPORT [=n]
Type : tristate
Prompt: Apple Airport support (built-in)
Location:
-> Device Drivers
-> Network device support (NETDEVICES [=y])
-> Wireless LAN (WLAN [=n])
-> Hermes chipset 802.11b support (Orinoco/Prism2/Symbol) (HERMES [=n])
Defined at drivers/net/wireless/orinoco/Kconfig:56
Depends on: NETDEVICES [=y] && WLAN [=n] && PPC_PMAC && HERMES [=n]
First ensure that all the conditions listed above following "Depends on" are met, then check if this option is available for you at the suggested Location. _________________
|
|
Back to top |
|
|
hakanekat n00b
Joined: 13 Jan 2014 Posts: 12 Location: Kyoto, Japan
|
Posted: Wed Jan 15, 2014 2:35 pm Post subject: |
|
|
Thank you for your quick reply.
Quote: |
Symbol: APPLE_AIRPORT [=n]
Type : tristate
Prompt: Apple Airport support (built-in)
Location:
-> Device Drivers
-> Network device support (NETDEVICES [=y])
-> Wireless LAN (WLAN [=n])
-> Hermes chipset 802.11b support (Orinoco/Prism2/Symbol) (HERMES [=n])
|
I have found the above in drivers/net/wireless/orinoco/Kconfig.
So I checked:
Quote: |
Depends on: NETDEVICES [=y] && WLAN [=n] && PPC_PMAC && HERMES [=n]
|
in .config.
However, I could not find any _HERMES in it.
What should I do next?
Regards, _________________ Hiroshi Takenaka, Kyoto, 617-0833 Japan |
|
Back to top |
|
|
hdcg Tux's lil' helper
Joined: 07 Apr 2013 Posts: 121
|
Posted: Wed Jan 15, 2014 7:07 pm Post subject: |
|
|
Hi,
assuming you are using the "make menuconfig" target you can search for config options by pressing SHIFT + / . I assume there are similar options for the other config targets. A search for HERMES reveals:
Quote: |
Symbol: HERMES [=n] │
│ Type : tristate │
│ Prompt: Hermes chipset 802.11b support (Orinoco/Prism2/Symbol) │
│ Location: │
│ -> Device Drivers │
│ -> Network device support (NETDEVICES [=y]) │
│ (1) -> Wireless LAN (WLAN [=y]) │
│ Defined at drivers/net/wireless/orinoco/Kconfig:1 │
│ Depends on: NETDEVICES [=y] && WLAN [=y] && (PPC_PMAC || PCI [=y] || PCMCIA [=n]) && CFG80211 [=m] && CFG80211_WEXT [=y] │
│ Selects: WIRELESS_EXT [=n] && WEXT_SPY [=n] && WEXT_PRIV [=n] && FW_LOADER [=m] && CRYPTO [=y] && CRYPTO_MICHAEL_MIC [=n]
|
Best Regards,
Holger |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54667 Location: 56N 3W
|
Posted: Wed Jan 15, 2014 9:08 pm Post subject: |
|
|
Moved from Kernel & Hardware to Gentoo on PPC.
As a G3 is a PPC box _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
hakanekat n00b
Joined: 13 Jan 2014 Posts: 12 Location: Kyoto, Japan
|
Posted: Fri Jan 17, 2014 9:27 am Post subject: [Solved] How can I build old drivers? |
|
|
I looked into "drivers/net/wireless/orinoco/Kconfig" and found the following description:
config APPLE_AIRPORT
tristate "Apple Airport support (built-in)"
depends on PPC_PMAC && HERMES
config HERMES
tristate "Hermes chipset 802.11b support (Orinoco/Prism2/Synbol)"
depends on (PPC_PMAC || PCI || PCMCIA)
depends on CFG80211 && CFG80211_WEXT
I checked the above dependencies in .config and found that CFG80211_WEXT was not set.
In menuconfig, I set the CFG80211_WEXT and then Hermes and Airport menus appeared in it.
I could build Apple Airport and Hermes.
Thanks, _________________ Hiroshi Takenaka, Kyoto, 617-0833 Japan |
|
Back to top |
|
|
|