Re: at76c505a and berliOS driver

Joerg Albert <[email protected]>
Newsgroups gmane.linux.drivers.at76c503a.user
Message-ID <[email protected]>
Hi,

thanks for the patches !

<[email protected]> wrote:

> Problem 1 (already posted trouble):
>
> There is wrong case string in at76c502.c (line 972)
>
>   case BOARDTYPE_505_RFMD_2958:
>
> but in the header file the corresponding constant is
>
>   #define BOARDTYPE_505A_RFMD_2958    7
>
> with 'A' after 505
>
> therefore, the first time i have inserted USB card the driver reported:
>
> Bad board type set (7).  Unable to get hardware config.
>
> Solving 1:
>
> Just change BOARDTYPE_505_RFMD_2958: to    case
> BOARDTYPE_505A_RFMD_2958: in at76c502.c
<

Must have forgotten to fix this one. I'll add BOARDTYPE_505A_RFMD_2958 as
we have a BOARDTYPE_505_RFMD_2958. too.

> Problem 2:
>
> When trying to "ifup wlan0" -
>
> Aug 10 00:43:38 leshik kernel: usb 5-1: control timeout on ep0in
> Aug 10 00:43:38 leshik kernel: /usr/src/at76c503a/at76c503.c: wlan0:
> get_cmd_status failed: -110
> Aug 10 00:43:38 leshik kernel: /usr/src/at76c503a/at76c503.c: wlan0
> start_scan completed with -110
> Aug 10 00:44:26 leshik kernel: usb 5-1: control timeout on ep0out
> Aug 10 00:44:26 leshik kernel: /usr/src/at76c503a/at76c503.c: wlan0:
> set_card_command(CMD_RADIO) failed: -110
> Aug 10 00:45:44 leshik kernel: usb 5-1: control timeout on ep0out
> Aug 10 00:45:44 leshik kernel: /usr/src/at76c503a/at76c503.c: wlan0:
> set_card_command failed: -110
>
>
> Solving 2:
> ...
>                   cmd_status, 40, HZ * USB_CTRL_GET_TIMEOUT);  <--- line
1041
> USB_CTRL_GET_TIMEOUT);                          <-- line 1106
> ...
> Thanks all, hope it'll be usefull.

yes, really, I've added the patches to the cvs.

Regards,
Jörg.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.