Re: [linux-usb-devel] unending timeouts

2002-06-21 Thread Duncan Sands
On Friday 21 June 2002 3:54 am, Greg KH wrote: > On Fri, Jun 21, 2002 at 12:56:00AM +0200, Duncan Sands wrote: > > Reminder: > > Alcatel modem attached to hub; when I attach another > > device to the hub, syslog fills up with message like > > usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6

[linux-usb-devel] usb_serial and tty

2002-06-21 Thread Thomas Wahrenbruch
Hi all, in my driver for our usb-serial converter I want to pass the received data back. But after every tty_insert_flip_char(tty, data[i], 0); call, my write method is called with data[i] or something else (0x5E, 0x40, 0x41 mostly). What could be the reason for this? Who calls my write method?

Re: [linux-usb-devel] unending timeouts (patch for 2.5.22 oops)

2002-06-21 Thread David Brownell
>>>Summary: >>>Seems like a bug in usbdevfs. The attached program is enough to >>>trigger it. >> >>Sure does :( >> >>Don't remember if I've asked, but does this also happen on 2.5? > > > It does with 2.5.22 (with an oops!). Here is the oops: > ... > Trace; cc8a0427 <[usb-uhci-hcd]uhci_urb_dequ

[linux-usb-devel] I am creating a usb device driver for a previously unsupported device.

2002-06-21 Thread Campbell, Shawn
My name is Shawn Campbell and I am creating a linux device driver for a previously unsupported device. The device is a magtek swipe reader that has a single endpoint that uses the usb "interrupt in" transfer method. I can get data from my read method, but the driver crashes my system. I am stu

Re: [linux-usb-devel] usb_serial and tty

2002-06-21 Thread Greg KH
On Fri, Jun 21, 2002 at 12:33:11PM +0200, Thomas Wahrenbruch wrote: > Hi all, > > in my driver for our usb-serial converter I want to pass the received data > back. > But after every > tty_insert_flip_char(tty, data[i], 0); > call, my write method is called with data[i] or something else (0x5E,

Re: [linux-usb-devel] I am creating a usb device driver for a previously unsupported device.

2002-06-21 Thread Oliver Neukum
> My code is attached to this document. It is a module for 2.4.x. > > Any help would be appreciated. magtek_delete will corrupt kernel memory management. You must not free parts of a structure. magtek_read: copy_to_user with spinlock held - great big NO, NO magtek_ioctl: the spinlock must be

[linux-usb-devel] Re: [PATCH 2.5.22] ohci-hcd cardbus unplug

2002-06-21 Thread Greg KH
On Tue, Jun 18, 2002 at 06:51:12PM -0700, David Brownell wrote: > This is the 2.5 version of that 2.4 patch I sent recently, > which makes the OHCI driver behave usably on at least > some cardbus systems when the card is just ejected without > a clean shutdown. > > Please merge to Linus' latest.

Re: [linux-usb-devel] unending timeouts (patch for 2.5.22 oops)

2002-06-21 Thread Greg KH
On Fri, Jun 21, 2002 at 05:35:36AM -0700, David Brownell wrote: > >>>Summary: > >>>Seems like a bug in usbdevfs. The attached program is enough to > >>>trigger it. > >> > >>Sure does :( > >> > >>Don't remember if I've asked, but does this also happen on 2.5? > > > > > >It does with 2.5.22 (with a

Re: [linux-usb-devel] unending timeouts (patch for 2.5.22 oops)

2002-06-21 Thread Duncan Sands
On Friday 21 June 2002 2:35 pm, David Brownell wrote: > >>>Summary: > >>>Seems like a bug in usbdevfs. The attached program is enough to > >>>trigger it. > >> > >>Sure does :( > >> > >>Don't remember if I've asked, but does this also happen on 2.5? > > > > It does with 2.5.22 (with an oops!). He