Re: serial device name for smart card reader that is integrated to Anysee DVB USB device

2011-12-13 Thread Antti Palosaari
On 10/14/2011 08:32 PM, Oliver Neukum wrote: Am Mittwoch, 5. Oktober 2011, 10:16:06 schrieb Oliver Neukum: Am Mittwoch, 5. Oktober 2011, 08:19:10 schrieb Antti Palosaari: On 10/05/2011 09:15 AM, Oliver Neukum wrote: But, Greg, Antti makes a very valid point here. The generic code assumes

Re: serial device name for smart card reader that is integrated to Anysee DVB USB device

2011-12-13 Thread Alan Cox
Anyhow, I would like now ask how to proceed. Should I export four new functions as replacement of those leaving old functionality as currently. Or should I change existing ones like adding new pointer for struct usb_serial and use it instead of struct usb_interface when not NULL. I think I

Re: serial device name for smart card reader that is integrated to Anysee DVB USB device

2011-10-14 Thread Oliver Neukum
Am Mittwoch, 5. Oktober 2011, 10:16:06 schrieb Oliver Neukum: Am Mittwoch, 5. Oktober 2011, 08:19:10 schrieb Antti Palosaari: On 10/05/2011 09:15 AM, Oliver Neukum wrote: But, Greg, Antti makes a very valid point here. The generic code assumes that it owns intfdata, that is you

Re: serial device name for smart card reader that is integrated to Anysee DVB USB device

2011-10-05 Thread Oliver Neukum
Am Mittwoch, 5. Oktober 2011, 07:58:51 schrieb Antti Palosaari: On 10/05/2011 07:59 AM, Greg KH wrote: Why not just use the usb-serial core and then you get a ttyUSB* device node for free? It also should provide a lot of the basic tty infrastructure and ring buffer logic all ready to use.

Re: serial device name for smart card reader that is integrated to Anysee DVB USB device

2011-10-05 Thread Antti Palosaari
On 10/05/2011 09:15 AM, Oliver Neukum wrote: Am Mittwoch, 5. Oktober 2011, 07:58:51 schrieb Antti Palosaari: On 10/05/2011 07:59 AM, Greg KH wrote: Why not just use the usb-serial core and then you get a ttyUSB* device node for free? It also should provide a lot of the basic tty

Re: serial device name for smart card reader that is integrated to Anysee DVB USB device

2011-10-05 Thread Greg KH
On Wed, Oct 05, 2011 at 08:15:17AM +0200, Oliver Neukum wrote: Am Mittwoch, 5. Oktober 2011, 07:58:51 schrieb Antti Palosaari: On 10/05/2011 07:59 AM, Greg KH wrote: Why not just use the usb-serial core and then you get a ttyUSB* device node for free? It also should provide a lot of

Re: serial device name for smart card reader that is integrated to Anysee DVB USB device

2011-10-05 Thread Oliver Neukum
Am Mittwoch, 5. Oktober 2011, 08:19:10 schrieb Antti Palosaari: On 10/05/2011 09:15 AM, Oliver Neukum wrote: But, Greg, Antti makes a very valid point here. The generic code assumes that it owns intfdata, that is you cannot use it as is for access to anything that lacks its own

serial device name for smart card reader that is integrated to Anysee DVB USB device

2011-10-04 Thread Antti Palosaari
I have been looking for correct device name for serial smart card reader that is integrated to Anysee DVB USB devices. Consider it like old so called Phoenix reader. Phoenix is de facto protocol used for such readers and there is whole bunch of different RS232 (/dev/ttyS#) or USB-serial (/dev

Re: serial device name for smart card reader that is integrated to Anysee DVB USB device

2011-10-04 Thread Greg KH
On Wed, Oct 05, 2011 at 12:22:09AM +0300, Antti Palosaari wrote: I have been looking for correct device name for serial smart card reader that is integrated to Anysee DVB USB devices. Consider it like old so called Phoenix reader. Phoenix is de facto protocol used for such readers

Re: serial device name for smart card reader that is integrated to Anysee DVB USB device

2011-10-04 Thread Antti Palosaari
On 10/05/2011 07:59 AM, Greg KH wrote: On Wed, Oct 05, 2011 at 12:22:09AM +0300, Antti Palosaari wrote: I have been looking for correct device name for serial smart card reader that is integrated to Anysee DVB USB devices. Consider it like old so called Phoenix reader. Phoenix is de facto