Re[2]: at76c505a (RFMD2958)

Joerg Albert <[email protected]> Sun, 5 Sep 2004 22:12:19 +0200 (CEST)
Newsgroups gmane.linux.drivers.at76c503a.user
Message-ID <[email protected]>
Hi Roman,

On Sun, 5 Sep 2004, [koi8-r] ????? ???????  wrote:

> it still doesn't working :-(
> here it is output of 'modprobe' command and '/var/log/messages'
>
> [root@noir74nl at76c503a]# modprobe -v at76_usbdfu debug=1
> /sbin/insmod /lib/modules/2.4.26/kernel/drivers/net/wireless/at76c503/at76_usbdfu.o debug=1
> Using /lib/modules/2.4.26/kernel/drivers/net/wireless/at76c503/at76_usbdfu.o
> Symbol version prefix ''
> [root@noir74nl at76c503a]#
>
>
> Sep  6 02:03:53 noir74nl kernel: at76_usbdfu.c: USB Device Firmware Upgrade (DFU) handler v0.12beta19-static loading
> Sep  6 02:04:13 noir74nl kernel: hub.c: new USB device 00:07.2-1.1, assigned address 7
> Sep  6 02:04:13 noir74nl kernel: usb.c: USB device 7 (vend/prod 0x3eb/0x7614) is not claimed by any active driver.
> Sep  6 02:04:13 noir74nl kernel:   Length              = 18
> Sep  6 02:04:13 noir74nl kernel:   DescriptorType      = 01
> Sep  6 02:04:13 noir74nl kernel:   USB version         = 1.10
> Sep  6 02:04:13 noir74nl kernel:   Vendor:Product      = 03eb:7614
> Sep  6 02:04:13 noir74nl kernel:   MaxPacketSize0      = 8
> Sep  6 02:04:13 noir74nl kernel:   NumConfigurations   = 1
> Sep  6 02:04:13 noir74nl kernel:   Device version      = 1.00
> Sep  6 02:04:13 noir74nl kernel:   Device Class:SubClass:Protocol = 00:00:00
> Sep  6 02:04:13 noir74nl kernel:     Per-interface classes
> Sep  6 02:04:13 noir74nl kernel: Configuration:
> Sep  6 02:04:13 noir74nl kernel:   bLength             =    9
> Sep  6 02:04:13 noir74nl kernel:   bDescriptorType     =   02
> Sep  6 02:04:13 noir74nl kernel:   wTotalLength        = 0019
> Sep  6 02:04:13 noir74nl kernel:   bNumInterfaces      =   01
> Sep  6 02:04:13 noir74nl kernel:   bConfigurationValue =   01
> Sep  6 02:04:13 noir74nl kernel:   iConfiguration      =   00
> Sep  6 02:04:13 noir74nl kernel:   bmAttributes        =   80
> Sep  6 02:04:13 noir74nl kernel:   MaxPower            =  500mA
> Sep  6 02:04:13 noir74nl kernel:
> Sep  6 02:04:13 noir74nl /sbin/hotplug: arguments (usb) env (DEVFS=/proc/bus/usb OLDPWD=/ PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=add
>  PWD=/etc/hotplug SHLVL=1 HOME=/ DEVICE=/proc/bus/usb/001/007 INTERFACE=255/0/255 PRODUCT=3eb/7614/100 TYPE=0/0/0 DEBUG=kernel _=/bin/e
> nv)
> Sep  6 02:04:13 noir74nl kernel:   Interface: 0
> Sep  6 02:04:13 noir74nl kernel:   Alternate Setting:  0
> Sep  6 02:04:13 noir74nl /sbin/hotplug: invoke /etc/hotplug/usb.agent ()
> Sep  6 02:04:13 noir74nl kernel:     bLength             =    9
> Sep  6 02:04:13 noir74nl kernel:     bDescriptorType     =   04
> Sep  6 02:04:13 noir74nl kernel:     bInterfaceNumber    =   00
> Sep  6 02:04:13 noir74nl kernel:     bAlternateSetting   =   00
> Sep  6 02:04:13 noir74nl kernel:     bNumEndpoints       =   00
> Sep  6 02:04:13 noir74nl kernel:     bInterface Class:SubClass:Protocol =   ff:00:ff
> Sep  6 02:04:13 noir74nl kernel:     iInterface          =   00
> Sep  6 02:04:17 noir74nl /etc/hotplug/usb.agent: Setup at76c505a-rfmd2958 for USB product 3eb/7614/100
> Sep  6 02:04:17 noir74nl kernel: at76c503.c: Generic Atmel at76c503/at76c505 routines v0.12beta19-static
> Sep  6 02:04:17 noir74nl kernel: at76c503-fw_skel.c: Atmel at76c505a (RFMD2958) Wireless LAN Driver v0.12beta19-static loading
> Sep  6 02:04:17 noir74nl kernel: usb.c: registered new driver at76c505a-rfmd2958
> Sep  6 02:04:17 noir74nl kernel: at76_usbdfu.c: dfu_download_block failed with -32

I miss some debug lines from at76_usbdfu.c here. The procedure
dfu_download_block prints a debug line like

	dfu_download_block(): buffer=%p, bytes=%d, block=%d

at every invocation, so you must see at least one of these lines before it
fails with the above line. Please check in your /etc/syslog.conf where the
kern.debug messages go to (might be to /var/log/debug). Please redirect
them to /var/log/messages and post the resulting syslog from another try.

> Sep  6 02:04:17 noir74nl kernel: at76c503.c: downloading internal fw failed with -32
> ???  6 02:04:17 noir74nl devlabel: devlabel service started/restarted

/Jörg