[linux-usb-devel] An almost new Unusual USB Device.

2006-04-12 Thread Olivier Blondeau
Hi all, I have an USB key manufactured by ATMEL and named SND1 Storage, which has a different Vendor and ProdID than the one already included one in the unusual_devs.h, and who needs his own description to work has it should: Already included device: UNUSUAL_DEV( 0x03eb, 0x2002, 0x0100,

[linux-usb-devel] Can't register udc driver at bus

2006-04-12 Thread Peter Chen
Hi,all Now,i have developed dm320 udc,when i insmod dm320_udc.ko, i get such oop errors: Unable to handle kernel paging request at virtual address e603000f pgd = c0ad [e603000f] *pgd=00b9a051, *pte=, *ppte= Internal error: Oops: 27 [#1] Modules linked in: udc CPU: 0 pc :

[linux-usb-devel] [PATCH 2.6.17-rc1] ftdi_sio: add support for ASK RDR 400 series card reader

2006-04-12 Thread Ian Abbott
Hi Greg, This patch adds support for an ASK RDR 400 series contactless card reader http://www.ask.fr/uk/products_and_services/terminals.html to the ftdi_sio driver's device ID table. The product ID was supplied by Adriano Couto on the ftdi-usb-sio-devel list. Please apply, thanks!

Re: [linux-usb-devel] questions on moto(E398) mass-storage linux driver

2006-04-12 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

Re: [linux-usb-devel] questions on moto(E398) mass-storage linux driver

2006-04-12 Thread Alan Stern
On Wed, 12 Apr 2006 [EMAIL PROTECTED] wrote: Hi Alan, Thanks a lot for your reply. Here I have couple of questions based on your replies 1) For scanner the minor base number is 48 in Linux, in the same way what is the minor base number that I can give for a USB mass-storage driver?

[linux-usb-devel] [PATCH] remove __init from usb_console_setup (was Re: [linux-usb-devel] [OOPS] console=ttyUSB0 with ftdi_sio)

2006-04-12 Thread Guennadi Liakhovetski
Hi I splitted this one out as it is small, simple, and pretty much obviously correct. To remind - it prevents an Oops if booted with console=ttyUSB0 but without a USB-serial dongle, and plugged one in afterwards. Originally from Paul. (Paul, would you like to sign-off for it?) It might even

Re: [linux-usb-devel] [OOPS] console=ttyUSB0 with ftdi_sio

2006-04-12 Thread Guennadi Liakhovetski
This is the uncertain part. It also addresses several problems, so, could also be further splitted, but this is just a draft anyway... I am not even signing-off for it. Problem 1. Oops with ftdi_sio and console=ttyUSB0. This is caused by 2 NULL-pointer dereferences - port-tty in ftdi_open()

Re: [linux-usb-devel] [OOPS] console=ttyUSB0 with ftdi_sio

2006-04-12 Thread Greg KH
On Thu, Apr 13, 2006 at 12:06:55AM +0200, Guennadi Liakhovetski wrote: This is the uncertain part. It also addresses several problems, so, could also be further splitted, but this is just a draft anyway... I am not even signing-off for it. Problem 1. Oops with ftdi_sio and console=ttyUSB0.

Re: [linux-usb-devel] [OOPS] console=ttyUSB0 with ftdi_sio

2006-04-12 Thread Guennadi Liakhovetski
On Wed, 12 Apr 2006, Greg KH wrote: On Thu, Apr 13, 2006 at 12:06:55AM +0200, Guennadi Liakhovetski wrote: Problem 2. Missing carriage-returns on line-feeds in /drivers/usb/serial/console.c, this fix is completely from Paul. I don't see why this is needed. The driver should not be doing

Re: [linux-usb-devel] [OOPS] console=ttyUSB0 with ftdi_sio

2006-04-12 Thread Greg KH
On Thu, Apr 13, 2006 at 12:37:07AM +0200, Guennadi Liakhovetski wrote: On Wed, 12 Apr 2006, Greg KH wrote: On Thu, Apr 13, 2006 at 12:06:55AM +0200, Guennadi Liakhovetski wrote: Problem 2. Missing carriage-returns on line-feeds in /drivers/usb/serial/console.c, this fix is completely

Re: [linux-usb-devel] [OOPS] console=ttyUSB0 with ftdi_sio

2006-04-12 Thread Paul Fulghum
Greg KH wrote: Does the serial console driver have this logic in it? Yes, that is where I took it from. drivers/serial/8250.c -- Paul --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications

Re: [linux-usb-devel] [OOPS] console=ttyUSB0 with ftdi_sio

2006-04-12 Thread Greg KH
On Wed, Apr 12, 2006 at 06:19:59PM -0500, Paul Fulghum wrote: Greg KH wrote: Does the serial console driver have this logic in it? Yes, that is where I took it from. drivers/serial/8250.c Ok, I must be blind, but what function in that file does this? thanks, greg k-h

Re: [linux-usb-devel] [OOPS] console=ttyUSB0 with ftdi_sio

2006-04-12 Thread Paul Fulghum
On Wed, 2006-04-12 at 16:33 -0700, Greg KH wrote: On Wed, Apr 12, 2006 at 06:19:59PM -0500, Paul Fulghum wrote: Greg KH wrote: Does the serial console driver have this logic in it? Yes, that is where I took it from. drivers/serial/8250.c Ok, I must be blind, but what function in

Re: [linux-usb-devel] [OOPS] console=ttyUSB0 with ftdi_sio

2006-04-12 Thread Greg KH
On Wed, Apr 12, 2006 at 06:41:16PM -0500, Paul Fulghum wrote: On Wed, 2006-04-12 at 16:33 -0700, Greg KH wrote: On Wed, Apr 12, 2006 at 06:19:59PM -0500, Paul Fulghum wrote: Greg KH wrote: Does the serial console driver have this logic in it? Yes, that is where I took it from.

Re: [linux-usb-devel] [OOPS] console=ttyUSB0 with ftdi_sio

2006-04-12 Thread Paul Fulghum
On Thu, 2006-04-13 at 00:37 +0200, Guennadi Liakhovetski wrote: On Wed, 12 Apr 2006, Greg KH wrote: Problem 3. Recursive error-messages on dongle-unplug, which render the system unusable. Here again, the proper solution would be to implement some usb_serial_console_disconnect() which

Re: [linux-usb-devel] [OOPS] console=ttyUSB0 with ftdi_sio

2006-04-12 Thread Paul Fulghum
On Wed, 2006-04-12 at 16:59 -0700, Greg KH wrote: 2.6.17-rc1 doesn't have a serial8250_console_write() that looks for LF characters and replace them like I think your patch did... I've been working against 2.6.16 I'll take a look at 2.6.17-rc1 and see what changed. -- Paul

Re: [linux-usb-devel] [OOPS] console=ttyUSB0 with ftdi_sio

2006-04-12 Thread Paul Fulghum
On Wed, 2006-04-12 at 16:59 -0700, Greg KH wrote: 2.6.17-rc1 doesn't have a serial8250_console_write() that looks for LF characters and replace them like I think your patch did... For 2.6.16-rc1, that logic moved to drivers/serial/serial_core.c in the function uart_console_write(). -- Paul

Re: [linux-usb-devel] [OOPS] console=ttyUSB0 with ftdi_sio

2006-04-12 Thread Greg KH
On Wed, Apr 12, 2006 at 07:08:17PM -0500, Paul Fulghum wrote: On Wed, 2006-04-12 at 16:59 -0700, Greg KH wrote: 2.6.17-rc1 doesn't have a serial8250_console_write() that looks for LF characters and replace them like I think your patch did... For 2.6.16-rc1, that logic moved to

Re: [linux-usb-devel] [OOPS] console=ttyUSB0 with ftdi_sio

2006-04-12 Thread Randy.Dunlap
On Wed, 12 Apr 2006 15:14:54 -0700 Greg KH wrote: On Thu, Apr 13, 2006 at 12:06:55AM +0200, Guennadi Liakhovetski wrote: This is the uncertain part. It also addresses several problems, so, could also be further splitted, but this is just a draft anyway... I am not even signing-off for