<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Marcin Juszkiewicz - hostap</title><link href="https://marcin.juszkiewicz.com.pl/" rel="alternate"/><link href="https://marcin.juszkiewicz.com.pl/tag/hostap/feed/" rel="self"/><id>https://marcin.juszkiewicz.com.pl/</id><updated>2007-12-31T14:06:00+01:00</updated><entry><title>CompactFlash card problems - why it is worth to report them</title><link href="https://marcin.juszkiewicz.com.pl/2007/12/31/compactflash-card-problems-why-it-is-worth-to-report-them/" rel="alternate"/><published>2007-12-31T14:06:00+01:00</published><updated>2007-12-31T14:06:00+01:00</updated><author><name>Marcin Juszkiewicz</name></author><id>tag:marcin.juszkiewicz.com.pl,2007-12-31:/2007/12/31/compactflash-card-problems-why-it-is-worth-to-report-them/</id><summary type="html">&lt;p&gt;Few days ago Ångström distribution was released. Currently machine mentors tests images and release them so their devices will be also supported and ready for&amp;nbsp;users.&lt;/p&gt;
&lt;p&gt;Users often have CompactFlash cards which we (developers) do not have. Some of them will be hit by miscellaneous problems. For example their WiFi …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Few days ago Ångström distribution was released. Currently machine mentors tests images and release them so their devices will be also supported and ready for&amp;nbsp;users.&lt;/p&gt;
&lt;p&gt;Users often have CompactFlash cards which we (developers) do not have. Some of them will be hit by miscellaneous problems. For example their WiFi card which was nicely working with HostAP driver now works only with Orinoco one so they can not connect to &lt;span class="caps"&gt;WPA&lt;/span&gt; encrypted access&amp;nbsp;points.&lt;/p&gt;
&lt;p&gt;How to solve that? Such users should report those cards. What report needs to&amp;nbsp;contain:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;pccardctl ident&lt;/code&gt; output&lt;/li&gt;
&lt;li&gt;information does card was working with other distribution (it can be any Linux distribution &amp;#8212; I test cards under Debian on my&amp;nbsp;laptop)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;What developer has to do then? Creation of patch to in-kernel driver is simple &amp;#8212; there is one table per driver in source and few simple macros. Examples can be found in my submissions to kernel&amp;nbsp;tree.&lt;/p&gt;</content><category term="hostap"/><category term="linux"/><category term="orinoco"/></entry><entry><title>OpenZaurus 3.5.4.2-rc2</title><link href="https://marcin.juszkiewicz.com.pl/2006/09/02/openzaurus-3542-rc2/" rel="alternate"/><published>2006-09-02T23:49:00+02:00</published><updated>2006-09-02T23:49:00+02:00</updated><author><name>Marcin Juszkiewicz</name></author><id>tag:marcin.juszkiewicz.com.pl,2006-09-02:/2006/09/02/openzaurus-3542-rc2/</id><summary type="html">&lt;p&gt;Today I released third testing version of OpenZaurus 3.5.4.2 version. It support only two&amp;nbsp;models:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;poodle (&lt;span class="caps"&gt;SL&lt;/span&gt;-5600/B500)&lt;/li&gt;
&lt;li&gt;tosa (&lt;span class="caps"&gt;SL&lt;/span&gt;-6000)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I decided to do not ship collie (&lt;span class="caps"&gt;SL&lt;/span&gt;-5000/5500) images as they need some work (for example they lack udev) and as usual there …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Today I released third testing version of OpenZaurus 3.5.4.2 version. It support only two&amp;nbsp;models:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;poodle (&lt;span class="caps"&gt;SL&lt;/span&gt;-5600/B500)&lt;/li&gt;
&lt;li&gt;tosa (&lt;span class="caps"&gt;SL&lt;/span&gt;-6000)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I decided to do not ship collie (&lt;span class="caps"&gt;SL&lt;/span&gt;-5000/5500) images as they need some work (for example they lack udev) and as usual there is a problem to get &lt;span class="caps"&gt;OPIE&lt;/span&gt;/&lt;span class="caps"&gt;GPE&lt;/span&gt; images fit in this &lt;a href="/2006/04/25/future-of-collie-in-openzaurus/"&gt;small rootfs&lt;/a&gt;&amp;nbsp;space.&lt;/p&gt;
&lt;p&gt;The most important changes in this&amp;nbsp;release:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;touchscreen on tosa does not show heartbeat like it was&amp;nbsp;before&lt;/li&gt;
&lt;li&gt;sound on poodle works &amp;#8212; does not generate random&amp;nbsp;noise&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I want to mention our kernel hackers: Richard Purdie and Liam Girdwood for sound fix, Mike Arthur for touchscreen fix. Without their work this release would not&amp;nbsp;happen.&lt;/p&gt;</content><category term="collie"/><category term="hostap"/><category term="openzaurus"/><category term="poodle"/><category term="tosa"/><category term="udev"/><category term="zaurus"/></entry><entry><title>Handling PCMCIA/CF cards in Linux</title><link href="https://marcin.juszkiewicz.com.pl/2006/06/14/handling-pcmciacf-cards-in-linux/" rel="alternate"/><published>2006-06-14T07:56:00+02:00</published><updated>2006-06-14T07:56:00+02:00</updated><author><name>Marcin Juszkiewicz</name></author><id>tag:marcin.juszkiewicz.com.pl,2006-06-14:/2006/06/14/handling-pcmciacf-cards-in-linux/</id><summary type="html">&lt;p&gt;I do not like a way how &lt;span class="caps"&gt;PCMCIA&lt;/span&gt;/&lt;span class="caps"&gt;CF&lt;/span&gt; cards are handled under Linux. For kernels &amp;lt; 2.6.13-rc1 the only choice is &lt;a href="https://pcmcia-cs.sourceforge.net/"&gt;&lt;code&gt;pcmcia-cs&lt;/code&gt;&lt;/a&gt; package with lot of files&amp;nbsp;in &lt;code&gt;/etc/pcmcia/&lt;/code&gt; which are&amp;nbsp;just &lt;code&gt;cardctl ident&lt;/code&gt; output edited a bit with added driver&amp;nbsp;name:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;root@c7x0:~# cardctl ident
Socket …&lt;/code&gt;&lt;/pre&gt;</summary><content type="html">&lt;p&gt;I do not like a way how &lt;span class="caps"&gt;PCMCIA&lt;/span&gt;/&lt;span class="caps"&gt;CF&lt;/span&gt; cards are handled under Linux. For kernels &amp;lt; 2.6.13-rc1 the only choice is &lt;a href="https://pcmcia-cs.sourceforge.net/"&gt;&lt;code&gt;pcmcia-cs&lt;/code&gt;&lt;/a&gt; package with lot of files&amp;nbsp;in &lt;code&gt;/etc/pcmcia/&lt;/code&gt; which are&amp;nbsp;just &lt;code&gt;cardctl ident&lt;/code&gt; output edited a bit with added driver&amp;nbsp;name:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;root@c7x0:~# cardctl ident
Socket 0:
  product info: "Pretec", "CompactWLAN Card 802.11b", "2.5"
  manfid: 0x0156, 0x0002
  function: 6 (network)
root@c7x0:~# tail -n4 /etc/pcmcia/hostap_cs.conf
card "Pretec WLAN"
  version "Pretec", "CompactWLAN Card 802.11b", "2.5"
  manfid 0x0156, 0x0002
  bind "hostap_cs"
root@c7x0:~#
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;With newer kernels we have two&amp;nbsp;options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;stick&amp;nbsp;with &lt;code&gt;pcmcia-cs&lt;/code&gt; and it&amp;#8217;s&amp;nbsp;configs&lt;/li&gt;
&lt;li&gt;use&amp;nbsp;new &lt;code&gt;pcmciautils&lt;/code&gt; and &lt;code&gt;udev&lt;/code&gt; rules&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;Pcmciautils&lt;/code&gt; way is nice &amp;#8212; no extra daemon running, cards are handled as hotpluggable &amp;#8212; everything looks nice and clear&amp;#8230; But there is something other &amp;#8212; list of devices handled by driver is in driver itself &amp;#8212; so if you get card which is not there then you have to provide patch for it (like I &lt;a href="/2006/05/23/my-first-linux-26-kernel-patch-accepted/"&gt;already did for some cards&lt;/a&gt;) or try module&amp;nbsp;aliases.&lt;/p&gt;
&lt;p&gt;But both methods has one nasty thing &amp;#8212; no way to tell &amp;#8216;this card &lt;span class="caps"&gt;HAS&lt;/span&gt; to use &lt;span class="caps"&gt;THIS&lt;/span&gt; driver &lt;span class="caps"&gt;NOT&lt;/span&gt; that&amp;#8217; ;( This situation is common for Prism2 based WiFi cards which can be used with &lt;a href="http://www.nongnu.org/orinoco/"&gt;&lt;code&gt;orinoco_cs&lt;/code&gt;&lt;/a&gt; driver (will appear&amp;nbsp;as &lt;code&gt;eth0&lt;/code&gt;) or with &lt;a href="http://hostap.epitest.fi/"&gt;&lt;code&gt;hostap_cs&lt;/code&gt;&lt;/a&gt; driver (appear&amp;nbsp;as &lt;code&gt;wlan0&lt;/code&gt;). For example my Pretec card (ident shown above) is handled by both drivers but only HostAP give me possibility to connect to my home network which use &lt;span class="caps"&gt;WPA&lt;/span&gt;-&lt;span class="caps"&gt;PSK&lt;/span&gt; for security (Orinoco does not support &lt;span class="caps"&gt;WPA&lt;/span&gt; at all). And all because some manufacturers was to lazy to change manfid/prodid of card from the one which reference card&amp;nbsp;had&amp;#8230;&lt;/p&gt;</content><category term="hostap"/><category term="openembedded"/><category term="openzaurus"/><category term="orinoco"/><category term="pcmcia"/><category term="wlan"/><category term="wpa"/></entry></feed>