On 12/1/06, <b class="gmail_sendername"><a href="mailto:djg@pdp8.net">djg@pdp8.net</a></b> &lt;<a href="mailto:djg@pdp8.net">djg@pdp8.net</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt;The manufacturer also provides the source for the driver. Again, the source<br>&gt;code was written against the 2.6.11 kernel and will not compile against my<br>&gt;2.6.16 kernel<br>&gt;<br>I'm not really a kernel hacker but have fixed drivers that wouldn't compile
<br>with a newer kernel. It seems from a quick online search of what people<br>did to fix other drivers the problem lines may be safely deleted.&nbsp;&nbsp;Try<br>at your own risk.<br><br>If you can't get that adapter working I am using a Rosewill RCW601 which is
<br>the Prolific PL2303 USB to serial adaptor driver in <a href="http://kernel.org">kernel.org</a> kernels.&nbsp;&nbsp;Now<br>using <a href="http://2.6.18.2">2.6.18.2</a> but also used <a href="http://2.6.15.4">2.6.15.4</a><br><br>
</blockquote></div>I was able to get this to build with your patch, but I'm still getting timeout errors. dmesg reports:<br>usbcore: registered new driver usbserial<br>drivers/usb/serial/usb-serial.c: Had to override the open usb serial operation with the generic one.
<br>drivers/usb/serial/usb-serial.c: Had to override the write usb serial operation with the generic one.<br>drivers/usb/serial/usb-serial.c: Had to override the close usb serial operation with the generic one.<br>drivers/usb/serial/usb-
serial.c: Had to override the write_room usb serial operation with the generic one.<br>drivers/usb/serial/usb-serial.c: Had to override the chars_in_buffer usb serial operation with the generic one.<br>drivers/usb/serial/usb-
serial.c: Had to override the read_bulk_callback usb serial operation with the generic one.<br>drivers/usb/serial/usb-serial.c: Had to override the write_bulk_callback usb serial operation with the generic one.<br>drivers/usb/serial/usb-
serial.c: USB Serial support registered for generic<br>drivers/usb/serial/usb-serial.c: descriptor matches<br>drivers/usb/serial/usb-serial.c: found bulk in on endpoint 0<br>drivers/usb/serial/usb-serial.c: found bulk out on endpoint 1
<br>drivers/usb/serial/usb-serial.c: found interrupt in on endpoint 2<br>usbserial_generic 3-1:1.0: generic converter detected<br>drivers/usb/serial/usb-serial.c: get_free_serial 1<br>drivers/usb/serial/usb-serial.c: get_free_serial - minor base = 0
<br>drivers/usb/serial/usb-serial.c: usb_serial_probe - setting up 1 port structures for this device<br>drivers/usb/serial/usb-serial.c: the device claims to support interrupt in transfers, but read_int_callback is not defined
<br>drivers/usb/serial/usb-serial.c: usb_serial_probe - registering ttyUSB0<br>usb 3-1: generic converter now attached to ttyUSB0<br>usbcore: registered new driver usbserial_generic<br>drivers/usb/serial/usb-serial.c: USB Serial Driver core
<br>drivers/usb/serial/usb-serial.c: Had to override the open usb serial operation with the generic one.<br>drivers/usb/serial/usb-serial.c: Had to override the close usb serial operation with the generic one.<br>drivers/usb/serial/usb-
serial.c: Had to override the read_bulk_callback usb serial operation with the generic one.<br>drivers/usb/serial/usb-serial.c: Had to override the write_bulk_callback usb serial operation with the generic one.<br>drivers/usb/serial/usb-
serial.c: USB Serial support registered for <br>/home/mythtv/Linux_7703/mos7703.c: Moschip 7703 USB Serial Driver 1.0.0.2FC4<br>usbcore: registered new driver Moschip7703<br>drivers/usb/serial/usb-serial.c: serial_open<br>
drivers/usb/serial/generic.c: usb_serial_generic_open - port 0<br>drivers/usb/serial/usb-serial.c: serial_ioctl - port 0, cmd 0x541e<br>drivers/usb/serial/usb-serial.c: serial_close - port 0<br>drivers/usb/serial/generic.c: usb_serial_generic_close - port 0
<br>drivers/usb/serial/generic.c: generic_cleanup - port 0<br>drivers/usb/serial/generic.c: usb_serial_generic_read_bulk_callback - port 0<br>drivers/usb/serial/generic.c: usb_serial_generic_read_bulk_callback - nonzero read bulk status received: -2
<br><br>I run the command:<br>/usr/local/bin/directv_usb.pl verbose off<br>SEND: 0xFA [�] 0x1 []<br>RECV: Timeout Error<br><br>I'm able to load the module, but I can't see that it's actually being used. I'd appreciate any other tips, otherwise I'll buy a usb-&gt;serial converter with known Linux support. 
<br>