[mythtv-users] Configuring USB->serial converter to control DirecTV set top box

jim scott jimdscott at gmail.com
Sat Dec 2 23:29:29 UTC 2006


On 12/1/06, djg at pdp8.net <djg at pdp8.net> wrote:
>
> >The manufacturer also provides the source for the driver. Again, the
> source
> >code was written against the 2.6.11 kernel and will not compile against
> my
> >2.6.16 kernel
> >
> I'm not really a kernel hacker but have fixed drivers that wouldn't
> compile
> with a newer kernel. It seems from a quick online search of what people
> did to fix other drivers the problem lines may be safely deleted.  Try
> at your own risk.
>
> If you can't get that adapter working I am using a Rosewill RCW601 which
> is
> the Prolific PL2303 USB to serial adaptor driver in kernel.orgkernels.  Now
> using 2.6.18.2 but also used 2.6.15.4
>
> I was able to get this to build with your patch, but I'm still getting
timeout errors. dmesg reports:
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: Had to override the open usb serial
operation with the generic one.
drivers/usb/serial/usb-serial.c: Had to override the write usb serial
operation with the generic one.
drivers/usb/serial/usb-serial.c: Had to override the close usb serial
operation with the generic one.
drivers/usb/serial/usb-serial.c: Had to override the write_room usb serial
operation with the generic one.
drivers/usb/serial/usb-serial.c: Had to override the chars_in_buffer usb
serial operation with the generic one.
drivers/usb/serial/usb-serial.c: Had to override the read_bulk_callback usb
serial operation with the generic one.
drivers/usb/serial/usb-serial.c: Had to override the write_bulk_callback usb
serial operation with the generic one.
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
drivers/usb/serial/usb-serial.c: descriptor matches
drivers/usb/serial/usb-serial.c: found bulk in on endpoint 0
drivers/usb/serial/usb-serial.c: found bulk out on endpoint 1
drivers/usb/serial/usb-serial.c: found interrupt in on endpoint 2
usbserial_generic 3-1:1.0: generic converter detected
drivers/usb/serial/usb-serial.c: get_free_serial 1
drivers/usb/serial/usb-serial.c: get_free_serial - minor base = 0
drivers/usb/serial/usb-serial.c: usb_serial_probe - setting up 1 port
structures for this device
drivers/usb/serial/usb-serial.c: the device claims to support interrupt in
transfers, but read_int_callback is not defined
drivers/usb/serial/usb-serial.c: usb_serial_probe - registering ttyUSB0
usb 3-1: generic converter now attached to ttyUSB0
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: Had to override the open usb serial
operation with the generic one.
drivers/usb/serial/usb-serial.c: Had to override the close usb serial
operation with the generic one.
drivers/usb/serial/usb-serial.c: Had to override the read_bulk_callback usb
serial operation with the generic one.
drivers/usb/serial/usb-serial.c: Had to override the write_bulk_callback usb
serial operation with the generic one.
drivers/usb/serial/usb-serial.c: USB Serial support registered for 
/home/mythtv/Linux_7703/mos7703.c: Moschip 7703 USB Serial Driver 1.0.0.2FC4
usbcore: registered new driver Moschip7703
drivers/usb/serial/usb-serial.c: serial_open
drivers/usb/serial/generic.c: usb_serial_generic_open - port 0
drivers/usb/serial/usb-serial.c: serial_ioctl - port 0, cmd 0x541e
drivers/usb/serial/usb-serial.c: serial_close - port 0
drivers/usb/serial/generic.c: usb_serial_generic_close - port 0
drivers/usb/serial/generic.c: generic_cleanup - port 0
drivers/usb/serial/generic.c: usb_serial_generic_read_bulk_callback - port 0
drivers/usb/serial/generic.c: usb_serial_generic_read_bulk_callback -
nonzero read bulk status received: -2

I run the command:
/usr/local/bin/directv_usb.pl verbose off
SEND: 0xFA [�] 0x1 []
RECV: Timeout Error

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->serial converter
with known Linux support.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20061202/0c2d58f0/attachment.htm 


More information about the mythtv-users mailing list