Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #54796 > unrolled thread

Bug#833035: linux-image-3.16.0-4-amd64: Keyspan USB serial adapter USA-49WLC failed to load firmware

Started byBen Hutchings <ben@decadent.org.uk>
First post2016-08-01 02:40 +0200
Last post2017-10-19 23:40 +0200
Articles 8 — 4 participants

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#833035: linux-image-3.16.0-4-amd64: Keyspan USB serial adapter USA-49WLC failed to load firmware Ben Hutchings <ben@decadent.org.uk> - 2016-08-01 02:40 +0200
    Processed: Re: Bug#833035: linux-image-3.16.0-4-amd64: Keyspan  USB serial adapter USA-49WLC failed to load firmware owner@bugs.debian.org (Debian Bug Tracking System) - 2016-08-01 02:40 +0200
    Bug#833035: linux-image-3.16.0-4-amd64: Keyspan USB serial adapter USA-49WLC failed to load firmware Chris Rhodin <chris@notav8.com> - 2016-08-02 08:00 +0200
      Bug#833035: linux-image-3.16.0-4-amd64: Keyspan USB serial adapter USA-49WLC failed to load firmware Ben Hutchings <ben@decadent.org.uk> - 2016-08-03 02:10 +0200
        Bug#833035: linux-image-3.16.0-4-amd64: Keyspan USB serial adapter USA-49WLC failed to load firmware Chris Rhodin <chris@notav8.com> - 2016-08-06 10:10 +0200
          Bug#833035: linux-image-3.16.0-4-amd64: Keyspan USB serial adapter USA-49WLC failed to load firmware Paul Fox <pgf@foxharp.boston.ma.us> - 2017-10-16 20:50 +0200
            Bug#833035: linux-image-3.16.0-4-amd64: Keyspan USB serial adapter USA-49WLC failed to load firmware Chris Rhodin <chris@notav8.com> - 2017-10-17 10:00 +0200
              Bug#833035: linux-image-3.16.0-4-amd64: Keyspan USB serial adapter USA-49WLC failed to load firmware Paul Fox <pgf@foxharp.boston.ma.us> - 2017-10-19 23:40 +0200

#54796 — Bug#833035: linux-image-3.16.0-4-amd64: Keyspan USB serial adapter USA-49WLC failed to load firmware

FromBen Hutchings <ben@decadent.org.uk>
Date2016-08-01 02:40 +0200
SubjectBug#833035: linux-image-3.16.0-4-amd64: Keyspan USB serial adapter USA-49WLC failed to load firmware
Message-ID<s19qV-7kW-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Control: retitle -1 linux-image-3.16.0-4-amd64: Keyspan USB serial adapter USA-49WLC failed to load firmware
Control: tag -1 moreinfo

On Sun, 2016-07-31 at 00:16 -0700, Chris Rhodin wrote:
> Subject: linux-image-3.16.0-4-amd64: Keyspan USB serial adapter USA-
> 49WLC failed to load firmware
> Package: src:linux
> Version: 3.16.7-ckt25-2+deb8u3
> Severity: normal
> Tags: upstream
> 
> Dear Maintainer,
> 
> The Keyspan USB serial adapter USA-49WLC fails to load firmware and
> will not work.  This device is based on an older generation
> Cypress EZ-USB FX (CY7C64613-80NC).  The firmware fails to load when
> the device is attached.  While searching for an answer I found
> the problem may stem from a non-standard implementation of the
> firmware loading commands.  Earlier versions of the kernel 
> (pre-Wheezy) did work with this device.  I have tried but have been
> unable to locate the change in the USB code taht causes this
> failure.
[...]

Is the firmware actually installed?  (It should be
/lib/firmware/keyspan/usa49wlc.fw, I think.)  We don't distribute
firmware for this device as it's not clear that we have permission to
do so.

Ben.

-- 

Ben Hutchings
Sturgeon's Law: Ninety percent of everything is crap.

[toc] | [next] | [standalone]


#54797 — Processed: Re: Bug#833035: linux-image-3.16.0-4-amd64: Keyspan USB serial adapter USA-49WLC failed to load firmware

Fromowner@bugs.debian.org (Debian Bug Tracking System)
Date2016-08-01 02:40 +0200
SubjectProcessed: Re: Bug#833035: linux-image-3.16.0-4-amd64: Keyspan USB serial adapter USA-49WLC failed to load firmware
Message-ID<s19qV-7kW-3@gated-at.bofh.it>
In reply to#54796
Processing control commands:

> retitle -1 linux-image-3.16.0-4-amd64: Keyspan USB serial adapter USA-49WLC failed to load firmware
Bug #833035 [src:linux] (no subject)
Changed Bug title to 'linux-image-3.16.0-4-amd64: Keyspan USB serial adapter USA-49WLC failed to load firmware' from '(no subject)'.
> tag -1 moreinfo
Bug #833035 [src:linux] linux-image-3.16.0-4-amd64: Keyspan USB serial adapter USA-49WLC failed to load firmware
Added tag(s) moreinfo.

-- 
833035: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833035
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#54807

FromChris Rhodin <chris@notav8.com>
Date2016-08-02 08:00 +0200
Message-ID<s1AU9-jn-5@gated-at.bofh.it>
In reply to#54796
On 07/31/2016 17:31, Ben Hutchings wrote:
> Control: retitle -1 linux-image-3.16.0-4-amd64: Keyspan USB serial adapter USA-49WLC failed to load firmware
> Control: tag -1 moreinfo
>
> On Sun, 2016-07-31 at 00:16 -0700, Chris Rhodin wrote:
>> Subject: linux-image-3.16.0-4-amd64: Keyspan USB serial adapter USA-
>> 49WLC failed to load firmware
>> Package: src:linux
>> Version: 3.16.7-ckt25-2+deb8u3
>> Severity: normal
>> Tags: upstream
>>
>> Dear Maintainer,
>>
>> The Keyspan USB serial adapter USA-49WLC fails to load firmware and
>> will not work.  This device is based on an older generation
>> Cypress EZ-USB FX (CY7C64613-80NC).  The firmware fails to load when
>> the device is attached.  While searching for an answer I found
>> the problem may stem from a non-standard implementation of the
>> firmware loading commands.  Earlier versions of the kernel
>> (pre-Wheezy) did work with this device.  I have tried but have been
>> unable to locate the change in the USB code taht causes this
>> failure.
> [...]
>
> Is the firmware actually installed?  (It should be
> /lib/firmware/keyspan/usa49wlc.fw, I think.)  We don't distribute
> firmware for this device as it's not clear that we have permission to
> do so.
>
> Ben.
>
The firmware is installed at:

/lib/firmware/keyspan/usa49wlc.fw

If I do the following:

1) Attach the device.

2) Use dmesg to confirm the load failure

3) Detach the device

4) Rename usa49wlc.fw to usa49wlc.fw.sav

5) Attache the device

I get this from dmesg.  I'm assuming the new error -2 indicates the file 
was not found.

[  871.336021] usb 1-4.1: new full-speed USB device number 8 using ehci-pci
[  871.428765] usb 1-4.1: New USB device found, idVendor=06cd, 
idProduct=011a
[  871.428769] usb 1-4.1: New USB device strings: Mfr=0, Product=0, 
SerialNumber=0
[  872.496494] usbcore: registered new interface driver usbserial
[  872.496520] usbcore: registered new interface driver usbserial_generic
[  872.496539] usbserial: USB Serial support registered for generic
[  872.511885] usbcore: registered new interface driver keyspan
[  872.511909] usbserial: USB Serial support registered for Keyspan - 
(without firmware)
[  872.511931] usbserial: USB Serial support registered for Keyspan 1 
port adapter
[  872.511952] usbserial: USB Serial support registered for Keyspan 2 
port adapter
[  872.511986] usbserial: USB Serial support registered for Keyspan 4 
port adapter
[  872.512065] keyspan 1-4.1:1.0: Keyspan - (without firmware) converter 
detected
[  872.516266] usb 1-4.1: firmware: direct-loading firmware 
keyspan/usa49wlc.fw
[  875.516265] usb 1-4.1: ezusb_ihex_firmware_download - 
ezusb_writememory failed writing internal memory (-110 7F92 
ffffc9001359d006 1)
[  875.516285] usb 1-4.1: failed to load firmware "keyspan/usa49wlc.fw"
[  875.516307] keyspan: probe of 1-4.1:1.0 failed with error -5
[  920.778513] usb 1-4.1: USB disconnect, device number 8
[  933.176024] usb 1-4.1: new full-speed USB device number 9 using ehci-pci
[  933.268765] usb 1-4.1: New USB device found, idVendor=06cd, 
idProduct=011a
[  933.268769] usb 1-4.1: New USB device strings: Mfr=0, Product=0, 
SerialNumber=0
[  933.269184] keyspan 1-4.1:1.0: Keyspan - (without firmware) converter 
detected
[  933.269247] usb 1-4.1: firmware: failed to load keyspan/usa49wlc.fw (-2)
[  933.269250] usb 1-4.1: Direct firmware load failed with error -2
[  933.269252] usb 1-4.1: Falling back to user helper
[  933.270457] usb 1-4.1: failed to load firmware "keyspan/usa49wlc.fw"
[  933.270465] keyspan: probe of 1-4.1:1.0 failed with error -5


Chris

[toc] | [prev] | [next] | [standalone]


#54819

FromBen Hutchings <ben@decadent.org.uk>
Date2016-08-03 02:10 +0200
Message-ID<s1RUZ-3iW-7@gated-at.bofh.it>
In reply to#54807

[Multipart message — attachments visible in raw view] — view raw

On Mon, 2016-08-01 at 22:51 -0700, Chris Rhodin wrote:
[...]
> I get this from dmesg.  I'm assuming the new error -2 indicates the file 
> was not found.
[...]

Yes.  And the other error code (-110) indicates a time-out.

Can you test whether the attached patch fixes this?  You can do this by
following the instructions at
<https://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official>.

Ben.

-- 

Ben Hutchings
73.46% of all statistics are made up.

[toc] | [prev] | [next] | [standalone]


#54838

FromChris Rhodin <chris@notav8.com>
Date2016-08-06 10:10 +0200
Message-ID<s34Q9-2Wd-11@gated-at.bofh.it>
In reply to#54819
On 08/02/2016 16:56, Ben Hutchings wrote:
> On Mon, 2016-08-01 at 22:51 -0700, Chris Rhodin wrote:
> [...]
>> I get this from dmesg.  I'm assuming the new error -2 indicates the file
>> was not found.
> [...]
>
> Yes.  And the other error code (-110) indicates a time-out.
>
> Can you test whether the attached patch fixes this?  You can do this by
> following the instructions at
> <https://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official>.
>
> Ben.
>
Hi Ben,

That worked.  All four ports can now connect and communicate.  I haven't 
tested handshaking, hardware or software.

I did have to export "ezusb_writememory" from ezusb.c.


Chris

[toc] | [prev] | [next] | [standalone]


#59202

FromPaul Fox <pgf@foxharp.boston.ma.us>
Date2017-10-16 20:50 +0200
Message-ID<uBiCC-7CA-3@gated-at.bofh.it>
In reply to#54838
ben, chris -- regarding this bug:
 Bug#833035:  linux-image-3.16.0-4-amd64:  Keyspan USB serial adapter
     USA-49WLC failed to load firmware

whatever became of the proposed patch.  i'm running ubuntu 16.04.3,
kernel 4.4.0-97-generic, and the failure is still present there.

paul
=----------------------
 paul fox, pgf@foxharp.boston.ma.us (arlington, ma, where it's 50.2 degrees)

[toc] | [prev] | [next] | [standalone]


#59210

FromChris Rhodin <chris@notav8.com>
Date2017-10-17 10:00 +0200
Message-ID<uBuX7-7CN-7@gated-at.bofh.it>
In reply to#59202
On 10/16/2017 11:32 AM, Paul Fox wrote:
> ben, chris -- regarding this bug:
>   Bug#833035:  linux-image-3.16.0-4-amd64:  Keyspan USB serial adapter
>       USA-49WLC failed to load firmware
>
> whatever became of the proposed patch.  i'm running ubuntu 16.04.3,
> kernel 4.4.0-97-generic, and the failure is still present there.
>
> paul
> =----------------------
>   paul fox, pgf@foxharp.boston.ma.us (arlington, ma, where it's 50.2 degrees)
>
>
> .
>
The patch provided fixed the bug.  I think I responded with the news.

Chris

[toc] | [prev] | [next] | [standalone]


#59240

FromPaul Fox <pgf@foxharp.boston.ma.us>
Date2017-10-19 23:40 +0200
Message-ID<uCqHM-3u5-7@gated-at.bofh.it>
In reply to#59210
chris wrote:
 > On 10/16/2017 11:32 AM, Paul Fox wrote:
 > > ben, chris -- regarding this bug:
 > >   Bug#833035:  linux-image-3.16.0-4-amd64:  Keyspan USB serial adapter
 > >       USA-49WLC failed to load firmware
 > >
 > > whatever became of the proposed patch.  i'm running ubuntu 16.04.3,
 > > kernel 4.4.0-97-generic, and the failure is still present there.
 > >
 > > paul
 > > =----------------------
 > >   paul fox, pgf@foxharp.boston.ma.us (arlington, ma, where it's 50.2 degrees)
 > >
 > >
 > > .
 > >
 > The patch provided fixed the bug.   I think I responded with the news.

yes -- sorry for not being clear.  i was wondering whether the fix had
gone upstream, and if not, why not.

paul
=----------------------
paul fox, pgf@foxharp.boston.ma.us (arlington, ma, where it's 61.9 degrees)

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web