Re: Cypress-based USB-serial converters and Linux

From: Neil Cherry (njc_at_wolfgang.uucp)
Date: 12/13/04


Date: Sun, 12 Dec 2004 21:01:44 -0600

On Sun, 12 Dec 2004 19:06:37 GMT, Lewin A.R.W. Edwards wrote:
> (Xposted to c.a.e because we've been talking about these adapters there
> recently).
>
> I'm trying to use a Cypress-based USB-serial adapter to connect an 8-bit
> embedded system (http://www.larwe.com/technical/current.html) to a
> Linux-based computer. Actually, I want to get it working on PPC Linux
> running on an MPC8241 but as a first step, I'm trying to get it to work on
> a regular PC.
>
> I upgraded to 2.6.10-rc3 specifically to get the cypress_m8 driver. It
> loads OK when I insert the cable, but when I power up the external device
> and it starts sending bytes, I get a kernel message:
>
> usbhid: probe of 1-2.4:1.0 failed with error -5
>
> (which is -EIO)
>
> When I attempt to send any byte to the external device, I get:
>
> cyphidcom ttyUSB0: cypress_write - usb_submit_urb (write interrupt) failed
> with status -19
>
> (which is -ENODEV)
>
> Has anyone seen this kind of behavior? Any fixes?

I'm not an expert on USB but I've been spending a bit of time with it
lately. First when you plug it in check /proc/bus/usb/devices look for
the entry that pertains to your device. Next check to see if the P:
Vendor=0cd5 ProdID=0001 match what is in the source code of the
driver.

-- 
Linux Home Automation         Neil Cherry       ncherry@comcast.net
http://home.comcast.net/~ncherry/               (Text only)
http://hcs.sourceforge.net/                     (HCS II)
http://linuxha.blogspot.com/                    My HA Blog


Relevant Pages

  • Re: Cypress-based USB-serial converters and Linux
    ... > Linux-based computer. ... I want to get it working on PPC Linux ... > loads OK when I insert the cable, but when I power up the external device ... > and it starts sending bytes, I get a kernel message: ...
    (comp.arch.embedded)
  • Re: Cypress-based USB-serial converters and Linux
    ... > Linux-based computer. ... I want to get it working on PPC Linux ... > loads OK when I insert the cable, but when I power up the external device ... The usbhid error -EIO just means that this subsystem should not claim the ...
    (comp.arch.embedded)
  • Re: Cypress-based USB-serial converters and Linux
    ... > Linux-based computer. ... I want to get it working on PPC Linux ... > loads OK when I insert the cable, but when I power up the external device ... The usbhid error -EIO just means that this subsystem should not claim the ...
    (comp.os.linux.hardware)