Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How can I build old drivers?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
hakanekat
n00b
n00b


Joined: 13 Jan 2014
Posts: 12
Location: Kyoto, Japan

PostPosted: Tue Jan 14, 2014 3:09 pm    Post subject: How can I build old drivers? Reply with quote

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
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Tue Jan 14, 2014 3:33 pm    Post subject: Re: How can I build old drivers? Reply with quote

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
View user's profile Send private message
hakanekat
n00b
n00b


Joined: 13 Jan 2014
Posts: 12
Location: Kyoto, Japan

PostPosted: Wed Jan 15, 2014 2:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
hdcg
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2013
Posts: 119

PostPosted: Wed Jan 15, 2014 7:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54098
Location: 56N 3W

PostPosted: Wed Jan 15, 2014 9:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
hakanekat
n00b
n00b


Joined: 13 Jan 2014
Posts: 12
Location: Kyoto, Japan

PostPosted: Fri Jan 17, 2014 9:27 am    Post subject: [Solved] How can I build old drivers? Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum