|
|
Re: 0.8.4 udev rules - was: Re: v0.8.4-rc3 - wifi problem which doesn't exi: msg#00047
linux.ports.h2200
|
Subject: |
Re: 0.8.4 udev rules - was: Re: v0.8.4-rc3 - wifi problem which doesn't exist underkernel 2.6.15-hh0 |
Hi!
You got that! It works !:)))
Earlier I have just added the rule and forgot to restart the udev. And
after that I have edited the rule and restarted the udev.
So I guess the solution for the official release is ready:)
Grate:)
Cheers
Michal
On 8/10/06, Joshua Layne <joshua-/AUtJLgdlQgnxqbYAscKCQ@xxxxxxxxxxxxxxxx> wrote:
(copying lists)
Hi Michal,
Could you try the same rule without the manf_id and card_id?
e.g.:
ACTION=="add", DEVICE=="hostap_cs", SYSFS{func_id}=="0x06", RUN+="/sbin/modprobe
hostap_cs ignore_cis_vcc=1"
That is all my rule consists of and it works for the Netgear MA701
We are trying to not enter every single card in the udev rules (as was done for
/etc/pcmcia/hostap_cs.conf in previous versions) - hopefully the flexibility of
udev will allow us a bit more abstraction.
I would very much like to see this added to 0.8.4, but I have no control over
that - I think Rene or Erik would have to include it.
Regards,
Josh
On Thu, 10 Aug 2006 22:31:41 +0200, "Michal Panczyk"
<mpanczyk-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:
> Hi all!
> I have been struggling with the same problem couple a day ago. As I
> see the solution is quite simple :)
> Just a question to developers - is that problem going to be solved in
> the official release ?
> If You are planning to solve it by that udev.rules file You can add my
> config to it :
> My card is Asus wl110.
> In the config the main line looks like :
> ACTION=="add", DEVICE=="hostap_cs", SYSFS{manf_id}=="0x02aa",
> SYSFS{card_id}=="0x0002",\
> SYSFS{func_id}=="0x06", RUN+="/sbin/modprobe hostap_cs ignore_cis_vcc=1"
>
> If You are not planning to solve it this way I just wanted to let You
> know that there are some possible problems with that card.
>
> Anyway - good luck:)
>
> Michal
>
> On 8/10/06, Joshua Layne <joshua-/AUtJLgdlQgnxqbYAscKCQ@xxxxxxxxxxxxxxxx>
wrote:
>> Hi Phil,
>> have you done:
>>
>> udevcontrol reload_rules
>> kill udev process
>> remove card
>> remove all modules that might have been loaded for it (hostap_cs,
> hostap, orinoco_cs, orinoco, hermes) -- rmmod orinoco_cs ....
>> /etc/init.d/udev start
>>
>> I had a lot of trouble with this as first becuase udev wasn't shutting
> down with the init.d script
>>
>> HTH,
>> joshua
>>
>> On Thu, 10 Aug 2006 17:28:29 +0100 (BST), "Philipp H. Mohr"
> <phm4-eQnPN5D1UZ61Qrn1Bg8BZw@xxxxxxxxxxxxxxxx> wrote:
>> > Hello Jushua and Marcus,
>> >
>> > thank you for your answers - I should have found the bug report
> myself...
>> >
>> > I tried what you two suggested and I get a slightly different
> behaviour,
>> > but the card still doesn't work. Now my dmesg output is:
>> >
>> > pccard: card ejected from slot 0
>> > hostap_cs: CS_EVENT_CARD_REMOVAL
>> > pccard: PCMCIA card inserted into slot 0
>> > pcmcia: registering new device pcmcia0.0
>> > hostap_cs: setting Vcc=33 (constant)
>> > hostap_cs: CS_EVENT_CARD_INSERTION
>> > hostap_cs: setting Vcc=50 (from config)
>> > Checking CFTABLE_ENTRY 0x01 (default 0x01)
>> > Vcc mismatch - skipping this entry
>> > 0.0: GetNextTuple: No more items
>> > prism2_config() failed
>> >
>> > It seems vcc is still causing trouble...
>> >
>> > ID's have been changed to the ones of my card:
>> > ACTION=="add", SYSFS{manf_id}=="0x028a", SYSFS{card_id}=="0x0673",
>> > SYSFS{func_id}=="0x06", RUN+="/sbin/modprobe hostap_cs
> ignore_cis_vcc=1"
>> >
>> > Any suggestions what else to try?
>> >
>> > Cheers,
>> > Phil
>> >
>> >
>> >
>> >
>> > On Thu, 10 Aug 2006, Joshua Layne wrote:
>> >
>> >> Marcus Brown wrote:
>> >> > Hi Joshua,
>> >> >
>> >> > Please note that the only reason for the 'last rule' in my
>> >> > original post was so that the ide driver wasn't loaded after
>> >> > hostap_cs for the dual-function Sandisk card.
>> >> >
>> >> > Marcus.
>> >> Hi Marcus,
>> >> yep - I eventually figured that one out... it took me a while because
> I
>> >> am slow :), but I finally noticed the func_id of ...4 instead of ...6
>> >> and then knew it wasn't a networking rule - sorry if my thought
> process
>> >> on that wasn't clear in the bug.
>> >>
>> >> I am curious whether the 'driver==' rule will catch all the hostap_cs
>> >> cards - it is working on mine, but I would love to have some more
> people
>> >> test it.
>> >>
>> >> thanks again,
>> >> josh
>> >> >
>> >> >
>> >> > Joshua Layne wrote:
>> >> >> Hi Phil,
>> >> >> Please check out this bug and see if the fix works for you.
>> >> >> http://handhelds.org/~bugzilla/show_bug.cgi?id=1719
>> >> >>
>> >> >> This is a common problem for all the hostap_cs cards - this should
>> >> >> fix it, but as I have only tested it against my card...
>> >> >>
>> >> >> HTH,
>> >> >> josh
>> >> >>
>> >> >> Philipp H. Mohr wrote:
>> >> >>> Hello,
>> >> >>>
>> >> >>> I have just tried v0.8.4-rc3 and I have encountered a problem
> with
>> > my
>> >> >>> wifi card: WCF12 linksys
>> >> >>>
>> >> >>> The card is working fine with Matt's 2.6.15-hh0 kernel from
>> >> >>> 10.4.2006 and
>> >> >>> familiar v.0.8.3 from 17.4.2006.
>> >> >>>
>> >> >>> But under v0.8.4-rc3 I get the following dmesg:
>> >> >>>
>> >> >>> pccard: PCMCIA card inserted into slot 0
>> >> >>> pcmcia: registering new device pcmcia0.0
>> >> >>> orinoco_cs: GetNextTuple(): No matching CIS configuration. Maybe
>> >> >>> you need
>> >> >>> the ignore_cis_vcc=1 parameter.
>> >> >>> 0.0: GetFirstTuple: No more items
>> >> >>> pcmcia: registering new device pcmcia0.1
>> >> >>> orinoco_cs: GetNextTuple(): No matching CIS configuration. Maybe
>> >> >>> you need
>> >> >>> the ignore_cis_vcc=1 parameter.
>> >> >>> 0.1: GetFirstTuple: No more items
>> >> >>>
>> >> >>> I checked all the config files and they are all identical to the
>> >> >>> ones in
>> >> >>> Matt's release.
>> >> >>>
>> >> >>>
>> >> >>> e.g.:
>> >> >>> options orinoco_cs ignore_cis_vcc=1
>> >> >>>
>> >> >>> is in /etc/modutils/orinoco_cs.conf
>> >> >>>
>> >> >>> as well as in /etc/modules.conf
>> >> >>>
>> >> >>> and
>> >> >>> ### update-modules: start processing
> /etc/modutils/orinoco_cs.conf
>> >> >>> options orinoco_cs ignore_cis_vcc=1
>> >> >>>
>> >> >>> The starnge thing under v0.8.4-rc3 is that hermes, orinoco and
>> >> >>> hostap are
>> >> >>> all getting loaded when I enter the card.
>> >> >>> Removing them manually (I have tried all combinations) doesn't
> make
>> > a
>> >> >>> difference.
>> >> >>> Under Matt's release only the hostap_cs module gets loaded!
>> >> >>>
>> >> >>> Any ideas how to fix that or what else to try?
>> >> >>>
>> >> >>> Cheers,
>> >> >>> Phil
>> >> >>> _______________________________________________
>> >> >
>> >>
>> >> _______________________________________________
>> >> H2200-port mailing list
>> >> H2200-port-CN5wO63fgwogsBAKwltoeQ@xxxxxxxxxxxxxxxx
>> >> https://handhelds.org/mailman/listinfo/h2200-port
>> >>
>> >
>> > --
>> > www.cs.kent.ac.uk/~phm4
>> > _______________________________________________
>> > H2200-port mailing list
>> > H2200-port-CN5wO63fgwogsBAKwltoeQ@xxxxxxxxxxxxxxxx
>> > https://handhelds.org/mailman/listinfo/h2200-port
>>
>> _______________________________________________
>> H2200-port mailing list
>> H2200-port-CN5wO63fgwogsBAKwltoeQ@xxxxxxxxxxxxxxxx
>> https://handhelds.org/mailman/listinfo/h2200-port
>>
|
|