Linux wireless drivers development
 help / color / mirror / Atom feed
* p54usb doesn't create wlan0 interface
@ 2010-06-05  0:41 Richard Tillmore
  2010-06-05  0:57 ` Christian Lamparter
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Tillmore @ 2010-06-05  0:41 UTC (permalink / raw)
  To: linux-wireless

Hi,

I have a Dell usb wireless card that I am trying to use under Linux.
A search of the FCC-ID M4Y-XG705A lead me to believe it has a Z-Com
XG-705A chipset.  Another search tells me that the p54usb driver
should work.  So I added
	{USB_DEVICE(0x413c, 0x5513)},	/* Dell Wireless */
to the /usr/src/linux/drivers/net/wireless/p54/p54usb.c file in the
correct spot.  A quick recompile and the module was built.  I did a
modprobe p54usb and dmesg shows:
cfg80211: Calling CRDA to update world regulatory domain
usbcore: registered new interface driver p54usb
cfg80211: World regulatory domain updated:
    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

However iwconfig doesn't list a wlan0.  OK maybe I need firmware so
another search leads me to
http://wireless.kernel.org/en/users/Drivers/p54 where I download
2.13.24.0.lm87.arm (USB 2nd generation (ISL3887)), rename it to
isl3887usb and put it in /lib/firmware.  I rebooted and still no wlan0
listed in iwconfig.

What did I do wrong?

Thanks,
Greg

The lsusb -vvv for the device is:
Bus 001 Device 003: ID 413c:5513 Dell Computer Corp.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x413c Dell Computer Corp.
  idProduct          0x5513
  bcdDevice            1.00
  iManufacturer           1 Conexant
  iProduct                2 Cohiba 3887a rev1
  iSerial                 3 3887-0100
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           53
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           5
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: p54usb doesn't create wlan0 interface
  2010-06-05  0:41 p54usb doesn't create wlan0 interface Richard Tillmore
@ 2010-06-05  0:57 ` Christian Lamparter
  2010-06-05  2:51   ` Richard Tillmore
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Lamparter @ 2010-06-05  0:57 UTC (permalink / raw)
  To: Richard Tillmore; +Cc: linux-wireless

On Saturday 05 June 2010 02:41:05 Richard Tillmore wrote:
> I have a Dell usb wireless card that I am trying to use under Linux.
> A search of the FCC-ID M4Y-XG705A lead me to believe it has a Z-Com
> XG-705A chipset.  Another search tells me that the p54usb driver
> should work.  So I added
> 	{USB_DEVICE(0x413c, 0x5513)},	/* Dell Wireless */
> to the /usr/src/linux/drivers/net/wireless/p54/p54usb.c file in the
> correct spot.
Please post the diff, so it can be integrated into -stable!

> A quick recompile and the module was built.  I did a
> modprobe p54usb and dmesg shows:

have you put the newly-built module into the right directory?
modprobe only takes modules from the kernel's module directory
(which is normally /lib/modules/$KVER/kernel/...)

you can verify that by calling modinfo p54usb and
check if there's a line usb:v413Cp5513d*...

> cfg80211: Calling CRDA to update world regulatory domain
> usbcore: registered new interface driver p54usb
> cfg80211: World regulatory domain updated:
>     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
>     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
>     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
>     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
>     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
>     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
> 
> However iwconfig doesn't list a wlan0.
please don't use "iwconfig". WEXT is obsolete, you can find a
nl80211 replacement "iw" right here:
http://wireless.kernel.org/en/users/Documentation/iw .

> OK maybe I need firmware so another search leads me to
> http://wireless.kernel.org/en/users/Drivers/p54 where I download
> 2.13.24.0.lm87.arm (USB 2nd generation (ISL3887)), rename it to
> isl3887usb and put it in /lib/firmware.  I rebooted and still no wlan0
> listed in iwconfig.
No need for a reboot, if the correct module is loaded the device
should be recognized instantly... (or as soon as it is replugged.)

Regards,
	Chr

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: p54usb doesn't create wlan0 interface
  2010-06-05  0:57 ` Christian Lamparter
@ 2010-06-05  2:51   ` Richard Tillmore
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Tillmore @ 2010-06-05  2:51 UTC (permalink / raw)
  To: Christian Lamparter; +Cc: linux-wireless

On Fri, Jun 4, 2010 at 7:57 PM, Christian Lamparter wrote:
> On Saturday 05 June 2010 02:41:05 Richard wrote:
>> I have a Dell usb wireless card that I am trying to use under Linux.
>> A search of the FCC-ID M4Y-XG705A lead me to believe it has a Z-Com
>> XG-705A chipset.  Another search tells me that the p54usb driver
>> should work.  So I added
>>       {USB_DEVICE(0x413c, 0x5513)},   /* Dell Wireless */
>> to the /usr/src/linux/drivers/net/wireless/p54/p54usb.c file in the
>> correct spot.
> Please post the diff, so it can be integrated into -stable!

I will have my friend post the diff tomorrow as I don't know how to make a diff.

>> A quick recompile and the module was built.  I did a
>> modprobe p54usb and dmesg shows:
>
> have you put the newly-built module into the right directory?
> modprobe only takes modules from the kernel's module directory
> (which is normally /lib/modules/$KVER/kernel/...)
>
> you can verify that by calling modinfo p54usb and
> check if there's a line usb:v413Cp5513d*...

You are right I was booting with the wrong kernel.  The default was
2.6.34-rc5 not the 2.6.34 we compiled.

>> However iwconfig doesn't list a wlan0.
> please don't use "iwconfig". WEXT is obsolete, you can find a
> nl80211 replacement "iw" right here:
> http://wireless.kernel.org/en/users/Documentation/iw .
>
>> OK maybe I need firmware so another search leads me to
>> http://wireless.kernel.org/en/users/Drivers/p54 where I download
>> 2.13.24.0.lm87.arm (USB 2nd generation (ISL3887)), rename it to
>> isl3887usb and put it in /lib/firmware.  I rebooted and still no wlan0
>> listed in iwconfig.
> No need for a reboot, if the correct module is loaded the device
> should be recognized instantly... (or as soon as it is replugged.)

I have iw and it works.  I just have to figure out how to use it :)

Thanks
Greg

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-05  2:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-05  0:41 p54usb doesn't create wlan0 interface Richard Tillmore
2010-06-05  0:57 ` Christian Lamparter
2010-06-05  2:51   ` Richard Tillmore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox