Hi Peter!
hmm seems the read_status command works different than with the dec2000t device.
Could you try the attached patch?
I applied the patch to the actual version of v4l-dvb drivers and loaded
it in debug-mode.
Now the output in the syslog by plugging in the DEC3000-s is the following:
Apr 7 10:20:46 NCC-1701A kernel: [4295380.642000] ohci_hcd
0000:00:02.1: wakeup
Apr 7 10:20:46 NCC-1701A kernel: [4295380.877000] usb 2-3: new full
speed USB device using ohci_hcd and address 4
Apr 7 10:20:46 NCC-1701A kernel: [4295380.992000] ttusb_dec_probe
Apr 7 10:20:46 NCC-1701A kernel: [4295380.992000] ttusb_dec_init_usb
Apr 7 10:20:46 NCC-1701A kernel: [4295380.992000] ttusb_dec_alloc_iso_urbs
Apr 7 10:20:46 NCC-1701A kernel: [4295380.992000] ttusb_dec_setup_urbs
Apr 7 10:20:46 NCC-1701A kernel: [4295380.992000] ttusb_dec_init_stb
Apr 7 10:20:46 NCC-1701A kernel: [4295380.992000] ttusb_dec_get_stb_state
Apr 7 10:20:46 NCC-1701A kernel: [4295380.992000] ttusb_dec_send_command
Apr 7 10:20:46 NCC-1701A kernel: [4295380.992000]
ttusb_dec_send_command: command: 0xAA 0x01 0x08 0x00
Apr 7 10:20:46 NCC-1701A kernel: [4295380.994000]
ttusb_dec_send_command: result: 0x55 0x01 0x08 0x0C 0x00 0x00 0x00 0x01 0x
00 0x07 0x00 0x0C 0x01 0x80 0x00 0x00
Apr 7 10:20:46 NCC-1701A kernel: [4295380.994000] ttusb_dec_init_dvb
Apr 7 10:20:46 NCC-1701A kernel: [4295380.994000] DVB: registering new
adapter (DEC3000-s).
Apr 7 10:20:46 NCC-1701A kernel: [4295381.005000] DVB: registering
frontend 0 (TechnoTrend/Hauppauge DEC3000-s Frontend)...
Apr 7 10:20:46 NCC-1701A kernel: [4295381.009000] ttusb_dec_init_v_pes
Apr 7 10:20:46 NCC-1701A kernel: [4295381.009000] ttusb_dec_send_command
Apr 7 10:20:46 NCC-1701A kernel: [4295381.009000]
ttusb_dec_send_command: command: 0xAA 0x02 0x80 0x01 0x05
Apr 7 10:20:46 NCC-1701A kernel: [4295381.011000]
ttusb_dec_send_command: result: 0x55 0x02 0x80 0x00
Apr 7 10:20:47 NCC-1701A usb.agent[11995]: ttusb_dec: already loaded
Now when I want to scan for channels I got another error-message:
root@NCC-1701A:~# dvbscan
/usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E >
/root/.szap/channels.conf
scanning /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 12551500 V 22000000 5
>>> tune to: 12551:v:0:22000
WARNING: filter timeout pid 0x0011
WARNING: filter timeout pid 0x0000
WARNING: filter timeout pid 0x0010
dumping lists (0 services)
Done.
root@NCC-1701A:~#
again with scan and dvbscan the same.
The syslog-etnry while scanning is the following:
Apr 7 10:24:52 NCC-1701A kernel: [4295626.378000] ttusb_dec_send_command
Apr 7 10:24:52 NCC-1701A kernel: [4295626.378000]
ttusb_dec_send_command: command: 0xAA 0x03 0x72 0x08 0x00 0xFF 0x00 0x00 0
xE0 0x10 0x38 0xF1
Apr 7 10:24:52 NCC-1701A kernel: [4295626.455000]
ttusb_dec_send_command: result: 0x55 0x03 0x72 0x04 0x00 0x00 0x00 0x00
Apr 7 10:24:52 NCC-1701A kernel: [4295626.526000] ttusb_dec_send_command
Apr 7 10:24:52 NCC-1701A kernel: [4295626.526000]
ttusb_dec_send_command: command: 0xAA 0x04 0x71 0x28 0x00 0x00 0x00 0x01 0
x00 0xB2 0x8C 0xFC 0x00 0x00 0x00 0x01 0x01 0x4F 0xB1 0x80 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x94 0xC5 0xF0 0x00 0
x00 0x00 0x0D 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Apr 7 10:24:52 NCC-1701A kernel: [4295626.531000]
ttusb_dec_send_command: result: 0x55 0x04 0x71 0x04 0x00 0x00 0x00 0x00
Apr 7 10:24:52 NCC-1701A kernel: [4295626.728000] ttusb_dec_start_feed
Apr 7 10:24:52 NCC-1701A kernel: [4295626.728000] pid: 0x0000
Apr 7 10:24:52 NCC-1701A kernel: [4295626.728000] ttusb_dec_start_sec_feed
Apr 7 10:24:52 NCC-1701A kernel: [4295626.728000] ttusb_dec_send_command
Apr 7 10:24:52 NCC-1701A kernel: [4295626.728000]
ttusb_dec_send_command: command: 0xAA 0x05 0x60 0x1D 0x00 0x00 0x00 0x01 0
x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xFF
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Apr 7 10:24:52 NCC-1701A kernel: [4295626.806000]
ttusb_dec_send_command: result: 0x55 0x05 0x60 0x02 0x00 0x00
Apr 7 10:24:52 NCC-1701A kernel: [4295626.806000] ttusb_dec_start_iso_xfer
Apr 7 10:24:52 NCC-1701A kernel: [4295626.806000] ttusb_dec_setup_urbs
Apr 7 10:24:52 NCC-1701A kernel: [4295626.806000] ttusb_dec_start_feed
Apr 7 10:24:52 NCC-1701A kernel: [4295626.806000] pid: 0x0011
Apr 7 10:24:52 NCC-1701A kernel: [4295626.806000] ttusb_dec_start_sec_feed
Apr 7 10:24:52 NCC-1701A kernel: [4295626.806000] ttusb_dec_send_command
Apr 7 10:24:52 NCC-1701A kernel: [4295626.806000]
ttusb_dec_send_command: command: 0xAA 0x06 0x60 0x1D 0x00 0x11 0x00 0x01 0
x01 0x42 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xFF
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Apr 7 10:24:52 NCC-1701A kernel: [4295626.810000]
ttusb_dec_send_command: result: 0x55 0x06 0x60 0x02 0x00 0x01
Apr 7 10:24:52 NCC-1701A kernel: [4295626.810000] ttusb_dec_start_iso_xfer
Apr 7 10:24:52 NCC-1701A kernel: [4295626.810000] ttusb_dec_start_feed
Apr 7 10:24:52 NCC-1701A kernel: [4295626.810000] pid: 0x0010
Apr 7 10:24:52 NCC-1701A kernel: [4295626.810000] ttusb_dec_start_sec_feed
Apr 7 10:24:52 NCC-1701A kernel: [4295626.810000] ttusb_dec_send_command
Apr 7 10:24:52 NCC-1701A kernel: [4295626.810000]
ttusb_dec_send_command: command: 0xAA 0x07 0x60 0x1D 0x00 0x10 0x00 0x01 0
x01 0x40 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xFF
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Apr 7 10:24:52 NCC-1701A kernel: [4295626.814000]
ttusb_dec_send_command: result: 0x55 0x07 0x60 0x02 0x00 0x02
Apr 7 10:24:52 NCC-1701A kernel: [4295626.814000] ttusb_dec_start_iso_xfer
Apr 7 10:24:58 NCC-1701A kernel: [4295632.820000] ttusb_dec_stop_feed
Apr 7 10:24:58 NCC-1701A kernel: [4295632.820000] ttusb_dec_send_command
Apr 7 10:24:58 NCC-1701A kernel: [4295632.820000]
ttusb_dec_send_command: command: 0xAA 0x08 0x62 0x02 0x00 0x01
Apr 7 10:24:58 NCC-1701A kernel: [4295632.822000]
ttusb_dec_send_command: result: 0x55 0x08 0x62 0x02 0x00 0x01
Apr 7 10:24:58 NCC-1701A kernel: [4295632.822000] ttusb_dec_stop_iso_xfer
Apr 7 10:24:59 NCC-1701A kernel: [4295633.823000] ttusb_dec_stop_feed
Apr 7 10:24:59 NCC-1701A kernel: [4295633.823000] ttusb_dec_send_command
Apr 7 10:24:59 NCC-1701A kernel: [4295633.823000]
ttusb_dec_send_command: command: 0xAA 0x09 0x62 0x02 0x00 0x00
Apr 7 10:24:59 NCC-1701A kernel: [4295633.826000]
ttusb_dec_send_command: result: 0x55 0x09 0x62 0x02 0x00 0x00
Apr 7 10:24:59 NCC-1701A kernel: [4295633.826000] ttusb_dec_stop_iso_xfer
Apr 7 10:25:08 NCC-1701A kernel: [4295642.835000] ttusb_dec_stop_feed
Apr 7 10:25:08 NCC-1701A kernel: [4295642.835000] ttusb_dec_send_command
Apr 7 10:25:08 NCC-1701A kernel: [4295642.835000]
ttusb_dec_send_command: command: 0xAA 0x0A 0x62 0x02 0x00 0x02
Apr 7 10:25:08 NCC-1701A kernel: [4295642.837000]
ttusb_dec_send_command: result: 0x55 0x0A 0x62 0x02 0x00 0x02
Apr 7 10:25:08 NCC-1701A kernel: [4295642.837000] ttusb_dec_stop_iso_xfer
so the FE-error is gone, but the scan did not yet work.
When I plugged it into my linux box and the modules where loaded I could
not change anything with the remove control on the reciever any more.
Even I could not turn it off! I must pull out the power supply to get it
back running standalone again!!
dvb-apps includes a program to reset the device to standalone mode.
Do you know the command?
thanks for your help!
Jens
_______________________________________________
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb