Re: [linux-usb-devel] Usb serial gadget driver bug?

2007-07-26 Thread David Brownell
On Thursday 26 July 2007, [EMAIL PROTECTED] wrote: > > 1. SET_LINE_CODING handling in gs_setup_class() copies req->buf to its > port_line_coding struct but data stage has not been reached yet. Known bug ... someone ought to submit a patch to fix this. ---

Re: [linux-usb-devel] Usb serial gadget driver bug?

2007-07-26 Thread Alan Stern
On Thu, 26 Jul 2007 [EMAIL PROTECTED] wrote: > 1. SET_LINE_CODING handling in gs_setup_class() copies req->buf to its > port_line_coding struct but data stage has not been reached yet. Have you considered mentioning this to the author or maintainer of that driver? > 2. generic question on setup

[linux-usb-devel] Usb serial gadget driver bug?

2007-07-26 Thread sasin
1. SET_LINE_CODING handling in gs_setup_class() copies req->buf to its port_line_coding struct but data stage has not been reached yet. 2. generic question on setup handling by gadget drivers: For setup-data-ack sequence, is ack to be generated by the controller driver always? What if it is data

Re: [linux-usb-devel] usb-serial problems

2007-05-02 Thread Oliver Neukum
Am Mittwoch, 2. Mai 2007 19:43 schrieb Werner LEMBERG: > > > Both use the usb-serial framework. Where are they hanging? > > I've no idea -- and I'm rather clueless w.r.t. kernel issues. > > > Could you make a sysrq-t dump of stack traces? > > If you tell me how to do so... I'd like to point y

Re: [linux-usb-devel] usb-serial problems

2007-05-02 Thread Werner LEMBERG
> Both use the usb-serial framework. Where are they hanging? I've no idea -- and I'm rather clueless w.r.t. kernel issues. > Could you make a sysrq-t dump of stack traces? If you tell me how to do so... Werner - Thi

Re: [linux-usb-devel] usb-serial problems

2007-05-02 Thread Oliver Neukum
Am Mittwoch, 2. Mai 2007 09:36 schrieb Werner LEMBERG: > What might be the reason for this problem? Any idea how this could be > fixed? The funny thing is that both drivers are affected... Both use the usb-serial framework. Where are they hanging? Could you make a sysrq-t dump of stack traces?

[linux-usb-devel] usb-serial problems

2007-05-02 Thread Werner LEMBERG
[I'm not subscribed to the list; please CC to [EMAIL PROTECTED] [linux kernel 2.6.21-rc6-git4-31] I own two usb-serial cables which use the ark3117 and mct_u232 drivers, respectively; I use them to connect a 28k modem to my laptop. Both drivers fail if connecting to a CVS repository with the `ex

Re: [linux-usb-devel] USB serial adapter with non-standard baudrates and RTS 'envelope' mode

2007-04-18 Thread Laurent Pinchart
Hi David, > > I had a look at a few Linux drivers, but had trouble finding complete > > datasheets for the chips. It seems the FTDI232BM support 500kb/s, but I > > found no protocol documentation describing available RTS modes. > > The newer FTDI 232R series chips (vs 232B, which isn't ROHS-confor

Re: [linux-usb-devel] USB serial adapter with non-standard baudrates and RTS 'envelope' mode

2007-04-17 Thread David Brownell
On Tuesday 17 April 2007 2:56 pm, Laurent Pinchart wrote: > I had a look at a few Linux drivers, but had trouble finding complete > datasheets for the chips. It seems the FTDI232BM support 500kb/s, but I found > no protocol documentation describing available RTS modes. The newer FTDI 232R serie

[linux-usb-devel] USB serial adapter with non-standard baudrates and RTS 'envelope' mode

2007-04-17 Thread Laurent Pinchart
Hi everybody, I'm looking for a USB serial adapter which supports non standard baudrates (500kb/s) and RTS 'envelope' mode (asserting RTS during transmission to control bus transceivers). The adapter should of course be still manufactured :-) I had a look at a few Linux drivers, but had troubl

Re: [linux-usb-devel] USB Serial device Protocols ..

2007-03-29 Thread Alan Stern
On Thu, 29 Mar 2007, Kiran Jammula wrote: > HI, > We have board from Hynix with usb B type support. Any USB standard device > class can be implemented using that USB B. We have successfully implemented > USB mass storage device protocol. We need to implement USB Serial device > protocol for the

[linux-usb-devel] USB Serial device Protocols ..

2007-03-29 Thread Kiran Jammula
HI, We have board from Hynix with usb B type support. Any USB standard device class can be implemented using that USB B. We have successfully implemented USB mass storage device protocol. We need to implement USB Serial device protocol for the same. Please let me know the resource for USB Serial

Re: [linux-usb-devel] usb-serial and flow control question

2007-02-01 Thread Joris van Rantwijk
On Sat, Jan 27, 2007 at 09:26:12PM +0100, Joris van Rantwijk wrote: > Would it make sense to postpone setting up a new read URB until the > tty layer has room available? It seems that some of the other drivers > (digi_accelport for example) do this in response to a throttle message > from the tt

Re: [linux-usb-devel] USB Serial driver

2006-12-25 Thread Marcel Holtmann
Hi Adam, > >> I've developed an open-source python library for RFID, called RFIDIOt > >> (http://rfidiot.org), which works with ACG serial RFID readers. I've > >> just acquired the USB version of the reader and wanted to add support > >> for it, but it isn't immediately recognised by the usbser

Re: [linux-usb-devel] USB Serial driver

2006-12-25 Thread Adam Laurie
Greg KH wrote: > On Mon, Dec 11, 2006 at 11:27:40AM +, Adam Laurie wrote: >> Folks, >> >> I've developed an open-source python library for RFID, called RFIDIOt >> (http://rfidiot.org), which works with ACG serial RFID readers. I've >> just acquired the USB version of the reader and wanted to

Re: [linux-usb-devel] USB Serial driver

2006-12-20 Thread Greg KH
On Mon, Dec 11, 2006 at 11:27:40AM +, Adam Laurie wrote: > Folks, > > I've developed an open-source python library for RFID, called RFIDIOt > (http://rfidiot.org), which works with ACG serial RFID readers. I've > just acquired the USB version of the reader and wanted to add support > for it

[linux-usb-devel] USB Serial driver

2006-12-11 Thread Adam Laurie
Folks, I've developed an open-source python library for RFID, called RFIDIOt (http://rfidiot.org), which works with ACG serial RFID readers. I've just acquired the USB version of the reader and wanted to add support for it, but it isn't immediately recognised by the usbserial driver and I wond

Re: [linux-usb-devel] USB-Serial: How to make usb_serial_probe() better?

2006-08-28 Thread Luiz Fernando N. Capitulino
Em Sun, 27 Aug 2006 12:50:17 -0700 Greg KH <[EMAIL PROTECTED]> escreveu: | On Sat, Aug 26, 2006 at 11:53:06PM -0300, Luiz Fernando N. Capitulino wrote: | > | > Hi Greg, | > | > Do you have suggestions on how to make usb_serial_probe() smaller? | | Why? Because it's pretty big. It has 20 l

Re: [linux-usb-devel] USB-Serial: How to make usb_serial_probe() better?

2006-08-27 Thread Greg KH
On Sat, Aug 26, 2006 at 11:53:06PM -0300, Luiz Fernando N. Capitulino wrote: > > Hi Greg, > > Do you have suggestions on how to make usb_serial_probe() smaller? Why? > I tried some different approaches but ended up with a more complex code... Yeah, it's not the smallest function, but it doe

[linux-usb-devel] USB-Serial: How to make usb_serial_probe() better?

2006-08-26 Thread Luiz Fernando N. Capitulino
Hi Greg, Do you have suggestions on how to make usb_serial_probe() smaller? I tried some different approaches but ended up with a more complex code... Thanks, -- Luiz Fernando N. Capitulino - Using Tomcat but need to

Re: [linux-usb-devel] usb-serial device name allocation.

2006-07-21 Thread Pete Zaitcev
On Thu, 13 Jul 2006 22:56:07 +0400, Sergei Organov <[EMAIL PROTECTED]> wrote: > >> Well, simple test shows that an application just sees an EOF condition, > >> i.e., read() returns 0 when device is disconnected. > > > > You probably run it with effective stty -isig by zeroing termios. > > Doesn't

Re: [linux-usb-devel] usb-serial device name allocation.

2006-07-13 Thread Luiz Fernando N. Capitulino
On Thu, 13 Jul 2006 22:35:30 -0300 "Luiz Fernando N. Capitulino" <[EMAIL PROTECTED]> wrote: | | If tty layer supports some "detach" functionality, it could be | | easy to achieve, -- just detach tty at disconnect time and then later | | free the structure at close time. It seems I need to take a c

Re: [linux-usb-devel] usb-serial device name allocation.

2006-07-13 Thread Luiz Fernando N. Capitulino
On Thu, 13 Jul 2006 17:11:30 +0400 Sergei Organov <[EMAIL PROTECTED]> wrote: | "Luiz Fernando N. Capitulino" <[EMAIL PROTECTED]> writes: | | > It seems to me that the current implementation is the easier way | > to do it. | | Probably, but the easiest is not necessary the right one, as we all |

Re: [linux-usb-devel] usb-serial device name allocation.

2006-07-13 Thread Sergei Organov
Pete Zaitcev <[EMAIL PROTECTED]> writes: > On Thu, 13 Jul 2006 16:31:35 +0400, Sergei Organov <[EMAIL PROTECTED]> wrote: > >> > The application will get a signal that the device has "hung up" which >> > usually causes it to automatically close the file handle, which is about >> > the best that the

Re: [linux-usb-devel] usb-serial device name allocation.

2006-07-13 Thread Pete Zaitcev
On Thu, 13 Jul 2006 16:31:35 +0400, Sergei Organov <[EMAIL PROTECTED]> wrote: > > The application will get a signal that the device has "hung up" which > > usually causes it to automatically close the file handle, which is about > > the best that the kernel can provide. > > Well, simple test show

Re: [linux-usb-devel] usb-serial device name allocation.

2006-07-13 Thread Sergei Organov
"Luiz Fernando N. Capitulino" <[EMAIL PROTECTED]> writes: > Hi Sergei, > > On Wed, 12 Jul 2006 15:42:14 +0400 > Sergei Organov <[EMAIL PROTECTED]> wrote: > > | Suppose I have a usb-serial device managed, say, by the airprime > | driver. When I connect it, it is attached to the /dev/ttyUSB0, then,

Re: [linux-usb-devel] usb-serial device name allocation.

2006-07-13 Thread Sergei Organov
Greg KH <[EMAIL PROTECTED]> writes: > On Wed, Jul 12, 2006 at 03:42:14PM +0400, Sergei Organov wrote: >> Suppose I have a usb-serial device managed, say, by the airprime >> driver. When I connect it, it is attached to the /dev/ttyUSB0, then, >> every disconnect/connect results in detaching from /de

Re: [linux-usb-devel] usb-serial device name allocation.

2006-07-12 Thread Greg KH
On Wed, Jul 12, 2006 at 03:42:14PM +0400, Sergei Organov wrote: > Suppose I have a usb-serial device managed, say, by the airprime > driver. When I connect it, it is attached to the /dev/ttyUSB0, then, > every disconnect/connect results in detaching from /dev/ttyUSB0 and > attaching back to /dev/tt

Re: [linux-usb-devel] usb-serial device name allocation.

2006-07-12 Thread Luiz Fernando N. Capitulino
Hi Sergei, On Wed, 12 Jul 2006 15:42:14 +0400 Sergei Organov <[EMAIL PROTECTED]> wrote: | Suppose I have a usb-serial device managed, say, by the airprime | driver. When I connect it, it is attached to the /dev/ttyUSB0, then, | every disconnect/connect results in detaching from /dev/ttyUSB0 and

[linux-usb-devel] usb-serial device name allocation.

2006-07-12 Thread Sergei Organov
Suppose I have a usb-serial device managed, say, by the airprime driver. When I connect it, it is attached to the /dev/ttyUSB0, then, every disconnect/connect results in detaching from /dev/ttyUSB0 and attaching back to /dev/ttyUSB0 *unless* there is an application that keeps an opened fd got from

Re: [linux-usb-devel] USB Serial Module

2006-06-22 Thread Greg KH
On Thu, Jun 22, 2006 at 03:24:21PM -0300, Manuel Naranjo wrote: > > There is no general USB to serial spec, sorry. You will have to contact > > the vendor of your device to get the protocol used to talk to the device > > in order to create a Linux driver. > > > > Or perhaps it already works with

Re: [linux-usb-devel] USB Serial Module

2006-06-22 Thread Manuel Naranjo
> There is no general USB to serial spec, sorry. You will have to contact > the vendor of your device to get the protocol used to talk to the device > in order to create a Linux driver. > > Or perhaps it already works with Linux as it uses one of the common > chipsets that are availble for this (

Re: [linux-usb-devel] USB Serial Module

2006-06-22 Thread Greg KH
On Thu, Jun 22, 2006 at 11:59:14AM -0300, Manuel Naranjo wrote: > Hi: > I'm new to linux usb, i'm trying to make a usb serial adapter work, but > i can not, is there any official documentation about the Serial USB > module, because i can not find nothing on internet. There is no general USB to s

Re: [linux-usb-devel] USB Serial Module

2006-06-22 Thread Manuel Naranjo
> > Well, the only 'generic' one I know is the usb-serial.txt file under > Documentation/usb/. Also available here: > > http://www.mjmwired.net/kernel/Documentation/usb/usb-serial.txt I have just found that thanks anyway > But would be better if you say what wha you adapter is and what >

Re: [linux-usb-devel] USB Serial Module

2006-06-22 Thread Luiz Fernando N. Capitulino
Hi Manuel, On Thu, 22 Jun 2006 11:59:14 -0300 Manuel Naranjo <[EMAIL PROTECTED]> wrote: | Hi: | I'm new to linux usb, i'm trying to make a usb serial adapter work, but | i can not, is there any official documentation about the Serial USB | module, because i can not find nothing on internet.

[linux-usb-devel] USB Serial Module

2006-06-22 Thread Manuel Naranjo
Hi: I'm new to linux usb, i'm trying to make a usb serial adapter work, but i can not, is there any official documentation about the Serial USB module, because i can not find nothing on internet. Thaks, Manuel Naranjo Using Tomcat but need to do more? Need to support web services, security? Get

Re: [linux-usb-devel] usb-serial misses kfree?

2006-06-20 Thread Greg KH
On Fri, Jun 16, 2006 at 09:51:25PM -0700, Pete Zaitcev wrote: > I may be missing something, but the usb-serial seems to miss a kfree > in a blatant way when it frees "unattached" ports. I looked at the > way ports are probed, and they are never static, even if they are > special. Weird... > > Also

Re: [linux-usb-devel] USB SERIAl DRIVER

2006-06-19 Thread Greg KH
On Mon, Jun 19, 2006 at 05:22:43PM -0300, Luiz Fernando N. Capitulino wrote: > > Hi Yuzhu, > > On Mon, 19 Jun 2006 13:12:52 -0400 > "Robert Liu" <[EMAIL PROTECTED]> wrote: > > | Hi, > | > | I am using USB SERIAL DRIVER with Linux 2.6.15. > | > | I noticed that the driver can only be loaded on

Re: [linux-usb-devel] USB SERIAl DRIVER

2006-06-19 Thread Luiz Fernando N. Capitulino
Hi Yuzhu, On Mon, 19 Jun 2006 13:12:52 -0400 "Robert Liu" <[EMAIL PROTECTED]> wrote: | Hi, | | I am using USB SERIAL DRIVER with Linux 2.6.15. | | I noticed that the driver can only be loaded once with one Vendor and Product ID. If I want to try another product id, I have to unload the drive

[linux-usb-devel] USB SERIAl DRIVER

2006-06-19 Thread Robert Liu
Hi, I am using USB SERIAL DRIVER with Linux 2.6.15. I noticed that the driver can only be loaded once with one Vendor and Product ID. If I want to try another product id, I have to unload the driver and then load it with this product id. Is there a way to allow the driver accept multiple produ

Re: [linux-usb-devel] usb-serial misses kfree?

2006-06-18 Thread Luiz Fernando N. Capitulino
On Sat, 17 Jun 2006 21:47:58 -0700 Pete Zaitcev <[EMAIL PROTECTED]> wrote: | On Sat, 17 Jun 2006 22:09:49 -0300, "Luiz Fernando N. Capitulino" <[EMAIL PROTECTED]> wrote: | | > | Greg, does this look sane to you? | | > 1. While you're are at it, please, create a new function to kill | > '

Re: [linux-usb-devel] usb-serial misses kfree?

2006-06-17 Thread Pete Zaitcev
On Sat, 17 Jun 2006 22:09:49 -0300, "Luiz Fernando N. Capitulino" <[EMAIL PROTECTED]> wrote: > | Greg, does this look sane to you? > 1. While you're are at it, please, create a new function to kill > 'port', because now the code in port_release() and destroy_serial() > does exactly t

Re: [linux-usb-devel] usb-serial misses kfree?

2006-06-17 Thread Pete Zaitcev
On Sat, 17 Jun 2006 22:09:49 -0300, "Luiz Fernando N. Capitulino" <[EMAIL PROTECTED]> wrote: > 1. While you're are at it, please, create a new function to kill > 'port', because now the code in port_release() and destroy_serial() > does exactly the same thing (to kill 'port'). > >

Re: [linux-usb-devel] usb-serial misses kfree?

2006-06-17 Thread Luiz Fernando N. Capitulino
Hi Pete, On Fri, 16 Jun 2006 21:51:25 -0700 Pete Zaitcev <[EMAIL PROTECTED]> wrote: | I may be missing something, but the usb-serial seems to miss a kfree | in a blatant way when it frees "unattached" ports. I looked at the | way ports are probed, and they are never static, even if they are | s

[linux-usb-devel] usb-serial misses kfree?

2006-06-16 Thread Pete Zaitcev
I may be missing something, but the usb-serial seems to miss a kfree in a blatant way when it frees "unattached" ports. I looked at the way ports are probed, and they are never static, even if they are special. Weird... Also, my fix for flushing the posted work apparently wasn't complete. I missed

Re: [linux-usb-devel] USB-Serial port to Serial Core: current issues.

2006-06-12 Thread Luiz Fernando N. Capitulino
On Mon, 12 Jun 2006 14:41:23 -0700 Pete Zaitcev <[EMAIL PROTECTED]> wrote: | On Mon, 12 Jun 2006 16:29:45 -0300, "Luiz Fernando N. Capitulino" <[EMAIL PROTECTED]> wrote: | | > The problem is that ftdi_sio calls usb_control_msg() in ftdi_tiocmget() | > to get the modem status from the device, bu

Re: [linux-usb-devel] USB-Serial port to Serial Core: current issues.

2006-06-12 Thread Pete Zaitcev
On Mon, 12 Jun 2006 16:29:45 -0300, "Luiz Fernando N. Capitulino" <[EMAIL PROTECTED]> wrote: > The problem is that ftdi_sio calls usb_control_msg() in ftdi_tiocmget() > to get the modem status from the device, but ftdi_get_mctrl() (Serial > Core version) cannot sleep because it's called with a s

[linux-usb-devel] USB-Serial port to Serial Core: current issues.

2006-06-12 Thread Luiz Fernando N. Capitulino
Hi there. While porting the ftdi_sio driver to the new USB-Serial, I faced a problem I think we'll have with other drivers as well. The problem is that ftdi_sio calls usb_control_msg() in ftdi_tiocmget() to get the modem status from the device, but ftdi_get_mctrl() (Serial Core version) canno

Re: [linux-usb-devel] usb serial

2006-06-01 Thread Greg KH
On Mon, May 22, 2006 at 10:23:39PM -0700, Pete Zaitcev wrote: > Hi, Greg: > > I looked at RMK's UART infrastructure and it seemed a little too > fine-grained to me. It does not seem like a good match for things > like edgeport and keyspan. So, my enthusiasm about "us" has diminished. Sometimes it

[linux-usb-devel] usb-serial ipaq kernel problem

2006-05-26 Thread Frank Gevaerts
Hi, I got this when disconnecting an ipaq with 2,6,17rc4. Frank usb 1-4.5.7: USB disconnect, address 79 [ cut here ] kernel BUG at kernel/workqueue.c:110! invalid opcode: [#1] Modules linked in: uhci_hcd ohci_hcd ehci_hcd ppp_deflate zlib_deflate bsd_comp ppp_async

[linux-usb-devel] usb serial

2006-05-22 Thread Pete Zaitcev
Hi, Greg: I looked at RMK's UART infrastructure and it seemed a little too fine-grained to me. It does not seem like a good match for things like edgeport and keyspan. So, my enthusiasm about "us" has diminished. Also, remember what kind of pain in the butt was the coexistence of usb-storage and

[linux-usb-devel] usb-serial ipaq kernel problem

2006-05-22 Thread Frank Gevaerts
Hi, We are having problems with the usb-serial ipaq driver in 2.6.16 (debian backports 2.6.16-1-686, but also reproducible with self-compiled kernel.org kernel) Sometimes, we get the following on disconnect: Unable to handle kernel paging request at virtual address 723d4ec3 printing eip: b01ea

Re: [linux-usb-devel] USB serial disconnect causes kernel oops

2006-02-22 Thread Greg KH
On Wed, Feb 22, 2006 at 08:36:29PM -0500, Joshua Wise wrote: > Hi all, > > I was playing around with some USB gadgets that I'm working on today when my > host exploded with this BUG: > > [ 863.013018] usb 1-4: PocketPC PDA converter now attached to ttyUSB0 > [ 872.706790] drivers/usb/serial/ipa

[linux-usb-devel] USB serial disconnect causes kernel oops

2006-02-22 Thread Joshua Wise
Hi all, I was playing around with some USB gadgets that I'm working on today when my host exploded with this BUG: [ 863.013018] usb 1-4: PocketPC PDA converter now attached to ttyUSB0 [ 872.706790] drivers/usb/serial/ipaq.c: ipaq_open - failed doing control urb, error -32 [ 875.115297] usbco

Re: [linux-usb-devel] Usb-Serial console problem with linux-2.6.10

2006-01-28 Thread Randy.Dunlap
On Tue, 10 Jan 2006 16:37:34 -0800 Greg KH wrote: > On Tue, Jan 10, 2006 at 12:31:01AM -0800, jassi brar wrote: > > Hi, > > I have problem using prolific usb/serial adaptor for > > console. > > > > It prints boot messages but stop after printing > > "warning: unable to open an initial console.

Re: [linux-usb-devel] Usb-Serial console problem with linux-2.6.10

2006-01-10 Thread jassi brar
hi greg, as i said, it doesn't work with linux-2.6.10, i believe its so with the linux-2.6 series. Which was the kernel it was first tested to be working fine ? Maybe i'll port/map the required changes to linux-2.6... thanx, jassi --- Greg KH <[EMAIL PROTECTED]> wrote: > On Tue, Jan 10, 2006

Re: [linux-usb-devel] Usb-Serial console problem with linux-2.6.10

2006-01-10 Thread Greg KH
On Tue, Jan 10, 2006 at 12:31:01AM -0800, jassi brar wrote: > Hi, > I have problem using prolific usb/serial adaptor for > console. > > It prints boot messages but stop after printing > "warning: unable to open an initial console." > > I've selected CONFIG_USB_SERIAL > CONFIG_USB_SERIAL_CONSO

[linux-usb-devel] Usb-Serial console problem with linux-2.6.10

2006-01-10 Thread jassi brar
Hi, I have problem using prolific usb/serial adaptor for console. It prints boot messages but stop after printing "warning: unable to open an initial console." I've selected CONFIG_USB_SERIAL CONFIG_USB_SERIAL_CONSOLE and CONFIG_USB_SERIAL_PL2303. i m using "console=ttyUSB0,9600" too(it doesn

Re: [linux-usb-devel] USB Serial Error

2005-12-12 Thread Ajay Jain
Ajay Jain wrote: > I am using my own usb host driver and trying to run a serial device on > that. 1 out of 5 times, I get an error "kernel panic, aiee, scheduling > in interrupt handler". The device in question is pl2303. From > usbserial.c, the function serial_write_room is called. The error come

[linux-usb-devel] USB Serial Error

2005-12-12 Thread Ajay Jain
Hi, I am using my own usb host driver and trying to run a serial device on that. 1 out of 5 times, I get an error "kernel panic, aiee, scheduling in interrupt handler". The device in question is pl2303. From usbserial.c, the function serial_write_room is called. The error comes on doing do

RE: [linux-usb-devel] USB Serial adapter 1.1 connected to a 2.0 Hub - usb_submit_urb fails with error -28

2005-09-23 Thread monali.katkar
5 PM > To: Monali Vishnu Katkar (WT01 - Semiconductors & Consumer > Electronics) > Cc: linux-usb-devel@lists.sourceforge.net > Subject: Re: [linux-usb-devel] USB Serial adapter 1.1 > connected to a 2.0 Hub - usb_submit_urb fails with error -28 > > > On Wed, Sep 21

Re: [linux-usb-devel] USB Serial adapter 1.1 connected to a 2.0 Hub - usb_submit_urb fails with error -28

2005-09-23 Thread Greg KH
On Fri, Sep 23, 2005 at 11:41:54AM +0530, [EMAIL PROTECTED] wrote: > > Hello Greg , > What kernel version would you recommend for porting usb-serial driver > for 2.4 ? > (Considering the stablity of usb/usb-serial layer in 2.4) No new distros are being created for 2.4, why would you want to port

Re: [linux-usb-devel] USB Serial adapter 1.1 connected to a 2.0 Hub - usb_submit_urb fails with error -28

2005-09-21 Thread Greg KH
On Wed, Sep 21, 2005 at 06:14:44PM +0530, [EMAIL PROTECTED] wrote: > > > Hello Greg , > Once again thanks for the reply . This time thanks for your sympathies > too :) > > I did try with 2.6.12 and found this is fixed . Great. I recommend you stick with 2.6.13 or greater for your development.

RE: [linux-usb-devel] USB Serial adapter 1.1 connected to a 2.0 Hub - usb_submit_urb fails with error -28

2005-09-21 Thread monali.katkar
; To: Monali Vishnu Katkar (WT01 - Semiconductors & Consumer > Electronics) > Cc: linux-usb-devel@lists.sourceforge.net > Subject: Re: [linux-usb-devel] USB Serial adapter 1.1 > connected to a 2.0 Hub - usb_submit_urb fails with error -28 > > > On Wed, Sep 21, 2005 at 05:26:2

Re: [linux-usb-devel] USB Serial adapter 1.1 connected to a 2.0 Hub - usb_submit_urb fails with error -28

2005-09-21 Thread Greg KH
On Wed, Sep 21, 2005 at 05:26:21PM +0530, [EMAIL PROTECTED] wrote: > > Hello Greg , > Thanks for the reply . > > The driver in question is still in development stages and is yet not > released . > I am developing and testing this on 2.6.9 kernel My sympathies. > I have one more query - > With t

RE: [linux-usb-devel] USB Serial adapter 1.1 connected to a 2.0 Hub - usb_submit_urb fails with error -28

2005-09-21 Thread monali.katkar
September 21, 2005 2:14 AM > To: Monali Vishnu Katkar (WT01 - Semiconductors & Consumer > Electronics) > Cc: linux-usb-devel@lists.sourceforge.net > Subject: Re: [linux-usb-devel] USB Serial adapter 1.1 > connected to a 2.0 Hub - usb_submit_urb fails with error -28 > &

Re: [linux-usb-devel] USB Serial adapter 1.1 connected to a 2.0 Hub - usb_submit_urb fails with error -28

2005-09-20 Thread Greg KH
On Tue, Sep 20, 2005 at 07:39:33PM +0530, [EMAIL PROTECTED] wrote: > > Hello all , > > I am facing an issue when using my usb-serial adapter( USB 1.1 > compliant) connected to the host via a 2.0 Hub ( from Adaptec, Inc) > > The setup is something like this . > Linux host with Redhat 2.6.9 kerne

[linux-usb-devel] USB Serial adapter 1.1 connected to a 2.0 Hub - usb_submit_urb fails with error -28

2005-09-20 Thread monali.katkar
Hello all , I am facing an issue when using my usb-serial adapter( USB 1.1 compliant) connected to the host via a 2.0 Hub ( from Adaptec, Inc) The setup is something like this . Linux host with Redhat 2.6.9 kernel --> USB 2.0 Hub --> USB-serial converter --> indicates usb cables The Linux host

Re: [linux-usb-devel] USB Serial Disconnect leaves userpace read/write/poll blocked

2005-09-08 Thread Shane Anderson
Thanks for the pointer Pete! I'm now happily running a 2.6.13 kernel and things work the way I'd expect. And I wouldn't have thought 2.6.8 is considered ancient, but I suppose it has been a while... At least I wasn't running 2.4! Thanks again, -Shane Pete Zaitcev wrote: On Wed, 07 Sep 20

Re: [linux-usb-devel] USB Serial Disconnect leaves userpace read/write/poll blocked

2005-09-07 Thread Pete Zaitcev
On Wed, 07 Sep 2005 15:28:02 -0500, Shane Anderson <[EMAIL PROTECTED]> wrote: > I've done a bit of digging into the > kernel source (2.6.8 on debian) and I think that the usb disconnect > needs to let the tty layer know that something happened since (I think) No surprise here. Remember the old jo

[linux-usb-devel] USB Serial Disconnect leaves userpace read/write/poll blocked

2005-09-07 Thread Shane Anderson
Hi All, I've noticed a potential problem with the USB serial driver layer and/or the ipaq driver. I suspect it's not specific to the ipaq driver... Anyways, If I have my USB device hooked up and talking to a userspace program (minicom or whatever) and I turn off or unplug the device, the userspa

Re: [linux-usb-devel] USB serial gadget problem

2005-08-24 Thread David Brownell
> From: Дмитрий Сергеев <[EMAIL PROTECTED]> > Date: Wed, 24 Aug 2005 09:12:59 +0400 > > Hello. > > I try connect my ARM linux device to host with Windows XP by USB serial > gadget ACM. > Driver setup normally, and my device is detected properly. > But I don`t know how to send data and receive da

[linux-usb-devel] USB serial gadget problem

2005-08-23 Thread Дмитрий Сергеев
Hello. I try connect my ARM linux device to host with Windows XP by USB serial gadget ACM. Driver setup normally, and my device is detected properly. But I don`t know how to send data and receive data? All standart utility are useless. What can I do? Help me please. Dmitriy. ---

[linux-usb-devel] USB-Serial PL2303 problem

2005-08-06 Thread Roman I Khimov
Hello. I've just tried a USB->RS232 adapter (BAFO BF-810), it's PL2303 based one, and I have a bad problem with it. My current kernel is 2.6.13-rc3-mm3, but I've also tried it with 2.6.12-rc5-mm1 - the same problem. I can also try recent -rc5 and -rc4-mm1, will compile them now. It's recognized a

[linux-usb-devel] [usb-serial] Character loop

2005-07-28 Thread Aman, Magnus
Hi,   I wonder what common pitfall I have encountered (?) but seek help nevertheless.   === Problem === Sending "AT" to the modem, it echoes back "A". But before the "T" comes in, my driver sends out an "A" again in a blocking loop! My termios are picked to disable echo and allow sending

[linux-usb-devel] usb serial port settings ?

2005-06-23 Thread Ram
Hi, I want to communicate between 2 machines using serial ports. Both machine are connected through an usb cable (using A to B usb connector). Both machines are running Linux. one machine (Slave) runs a USB Serial Gadget Driver with CDC-ACM support. and another machine (USB Host) has a CDC-A

Re: [linux-usb-devel] usb serial gadget not working ??

2005-06-20 Thread David Brownell
I see you've posted your message to three different mailing lists. Using two different user acounts. Stop doing that ... neither behavior is appreciated, both will make folk start ignoring you How about picking just ONE list at a time? I've assigned followups to the linux-usb-devel list, which i

Re: [linux-usb-devel] usb serial gadget not working ??

2005-06-20 Thread Oliver Neukum
Am Montag, 20. Juni 2005 09:28 schrieb Ram: > # cat /proc/bus/usb/devices > > T:  Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 12 Spd=12  MxCh= 0 > D:  Ver= 2.00 Cls=ff(vend.) Sub=00 Prot=00 MxPS=64 #Cfgs=  1 > P:  Vendor=0525 ProdID=a4a6 Rev= 2.07 > S:  Manufacturer=Linux 2.6.12-rc2-omap2 with omap

[linux-usb-devel] usb serial gadget not working ??

2005-06-20 Thread Ram
Hi, I want to connect a Serial Gadget to Linux Host. I have configured the Slave to work as a Serial Gadget. The dmesg at the Slave looks like this: udc: USB reset done, gadget g_serial gs_set_config: Gadget Serial configured, full speed BULK config I have loaded cdc-acm dri

Re: [linux-usb-devel] USB Serial Issues ?

2005-06-18 Thread David Brownell
On Saturday 18 June 2005 6:14 am, Maximus wrote: > > can u please let me know the sequence of steps needed: >on device side and on host side . linux/Documentation/usb/gadget_serial.txt --- SF.Net email is sponsored by: Discover Easy Lin

Re: [linux-usb-devel] USB - Serial ??

2005-06-18 Thread Alan Stern
On Sat, 18 Jun 2005, Maximus wrote: > Hi, > I am trying minicom on usb - serial. > > > When i do : >cat /proc/bus/usb/devices > > > T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > D: Ver= 2.00 Cls=ff(vend.) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 > P: Vendor=0525 ProdID=a4

Re: [linux-usb-devel] USB Serial Issues ?

2005-06-18 Thread Maximus
Hi, I want to use usbserial driver. Actually, i am facing some problem. minicom says no such file. I am not able to run cat program also ?. what could be the problem. can u please let me know the sequence of steps needed: on device side and on host side . Regards, Maximus On

[linux-usb-devel] USB - Serial ??

2005-06-18 Thread Maximus
Hi, I am trying minicom on usb - serial. When i do : cat /proc/bus/usb/devices T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=ff(vend.) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=0525 ProdID=a4a6 Rev= 2.07 S: Manufacturer=Linux 2.6.12-rc2-omap2 with o

[linux-usb-devel] USB Serial Issues ?

2005-06-17 Thread Maximus
Hi, I tried the following : Device : mknod /dev/ttygs0 c 127 0 mknod /dev/ttygserial c 127 0 Host Side: insmod usbserial =20 Already on Host Side: Devices are there /dev/ttyUSB0 , 1 ,2=20 I want to run minicom Parameters to minic

RE: [linux-usb-devel] usb serial core problems

2005-06-03 Thread Stuart MacDonald
From: Greg KH [mailto:[EMAIL PROTECTED] > On Fri, Jun 03, 2005 at 11:30:01AM -0400, Stuart MacDonald wrote: > > From: On Behalf Of Greg KH > > > In 2.6, throttle can be called in interrupt context too. See > > > the recent > > > visor fix that was required for this. > > > > patch-2.6.11 and pat

RE: [linux-usb-devel] usb serial core problems

2005-06-03 Thread Stuart MacDonald
From: Greg KH [mailto:[EMAIL PROTECTED] > On Fri, Jun 03, 2005 at 11:30:01AM -0400, Stuart MacDonald wrote: > > From: On Behalf Of Greg KH > > > In 2.6, throttle can be called in interrupt context too. See > > > the recent > > > visor fix that was required for this. > > > > patch-2.6.11 and pat

Re: [linux-usb-devel] usb serial core problems

2005-06-03 Thread Greg KH
On Fri, Jun 03, 2005 at 11:30:01AM -0400, Stuart MacDonald wrote: > From: On Behalf Of Greg KH > > In 2.6, throttle can be called in interrupt context too. See > > the recent > > visor fix that was required for this. > > patch-2.6.11 and patch-2.6.10 don't contain the fix you are refering > to.

RE: [linux-usb-devel] usb serial core problems

2005-06-03 Thread Stuart MacDonald
From: On Behalf Of Greg KH > In 2.6, throttle can be called in interrupt context too. See > the recent > visor fix that was required for this. patch-2.6.11 and patch-2.6.10 don't contain the fix you are refering to. Where am I looking? > > So it seems to me that usbserial is fundamentally broke

Re: [linux-usb-devel] usb serial core problems

2005-06-02 Thread Greg KH
On Thu, Jun 02, 2005 at 09:43:46PM -0400, Stuart MacDonald wrote: > The serial sub-drivers (whiteheat.c is one) have to call > tty_flip_buffer_push() somehow. Queueing the task means it runs from > (timer) interrupt context. Calling it directly means a) low_latency is > set; runs from sub-driver rx

[linux-usb-devel] usb serial core problems

2005-06-02 Thread Stuart MacDonald
The serial sub-drivers (whiteheat.c is one) have to call tty_flip_buffer_push() somehow. Queueing the task means it runs from (timer) interrupt context. Calling it directly means a) low_latency is set; runs from sub-driver rx-side interrupt context or b) low_latency is *not* set and it's queued, se

[linux-usb-devel] Usb serial with power ON/OFF problem

2005-05-30 Thread rao.shalini
Hi Greg/Lee, On this problem one more scenario, we tried to do switch off mobile manually without AT+CFUN=0, with this we are not getting control on file descriptors and we are not able to reopen file descriptors. Whereas in other case we could trap AT command and open the file descriptor, but in

Re: FW: [linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8

2005-05-16 Thread Greg KH
On Mon, May 16, 2005 at 06:40:52PM -0400, Greg Lee wrote: > > What oops do you get? On a recent 2.6 kernel? > > The kernel is 2.6.11.7. It's not a full kernel Oops, rather a NULL pointer > dereference in the kernel. The phone is recognized as an ACM device under > 2.6 kernels (not usbserial).

RE: FW: [linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8

2005-05-16 Thread Greg Lee
> What oops do you get? On a recent 2.6 kernel? The kernel is 2.6.11.7. It's not a full kernel Oops, rather a NULL pointer dereference in the kernel. The phone is recognized as an ACM device under 2.6 kernels (not usbserial). I have a copy of all of the console output from boot to the error if

RE: FW: [linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8

2005-05-16 Thread Greg Lee
> And yes, if a device goes away with a open file descriptor, > on 2.6, you will get a new usb device node for when the > device shows back up. It will not reconnect to the same open > file descriptor, sorry. That is not a problem, we re-open anyways. But if we write on the old file descripto

Re: FW: [linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8

2005-05-12 Thread Greg KH
On Wed, May 11, 2005 at 04:25:03PM -0400, Greg Lee wrote: > Greg, I'm jumping in here with some information that I hope helps a bit. Don't take people off of the CC: they might not notice :) > I > presently work with several different kernels (2.4.17, 2.4.19, 2.4.21 and a > recent 2.6 kernel whic

RE: FW: [linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8

2005-05-12 Thread rao.shalini
Sent: Thursday, May 12, 2005 1:55 AM To: linux-usb-devel@lists.sourceforge.net Subject: RE: FW: [linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8 > I'm sorry, but I don't see the specs for your device on how > it works. Did you forget to attach them? >

RE: FW: [linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8

2005-05-11 Thread Greg Lee
> I'm sorry, but I don't see the specs for your device on how > it works. Did you forget to attach them? > > thanks, > > greg k-h Greg, I'm jumping in here with some information that I hope helps a bit. I presently work with several different kernels (2.4.17, 2.4.19, 2.4.21 and a recent 2.6 ke

Re: FW: [linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8

2005-05-11 Thread Greg KH
A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I includ

Re: FW: [linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8

2005-05-11 Thread Greg KH
On Wed, May 11, 2005 at 12:46:40PM +0530, [EMAIL PROTECTED] wrote: > > Hi Greg, > > I'm sending driver code and device info, so that you can get an idea of > what is happening? > > > Please find enclosed attachment of driver code and device info Um, that is an old 2.4 version of the usb-serial

Re: FW: [linux-usb-devel] Usb serial with power ON/OFF problem using Linux 2.6.11.8

2005-05-10 Thread Greg KH
On Tue, May 10, 2005 at 03:29:29PM +0530, [EMAIL PROTECTED] wrote: > > I wanted to add one more scenario that is, device is OFF, it's charging > if we give AT+CFUN=0 command, it again disconnect the device. > > Please update this with previous mail. > > Tell me what could be done on this. Witho

  1   2   >