LinHES Forums
http://forum.linhes.org/

TV402U Mostly Not Working
http://forum.linhes.org/viewtopic.php?f=2&t=7099
Page 1 of 1

Author:  sparks [ Sat Nov 26, 2005 9:59 pm ]
Post subject:  TV402U Mostly Not Working

I have been trying to get my Plextor TV402U working with KnoppMyth R5A26.
I have had the same problem with R5A16 so I am not sure how much the release has to do with this. Anyways, I can not get the gadget to work in any consistant manner. If I do get it to work, it refuses to work after a reboot. By work I mean live TV and record. Live TV seems to work more often but I have gotten record to work only once. The following log excerpts are typical. This happen to be a reboot and starting a recording right away. There are some errors in the logs but I do not understand what they mean or if they are even relevant.

Code:

FROM /var/log/mythtv/mythconverg.log:

2005-11-26 22:00:14.153 New DB connection, total: 1
Starting up as the master server.
2005-11-26 22:00:14.723 New DB connection, total: 2
2005-11-26 22:00:14.786 New DB connection, total: 3
2005-11-26 22:00:15.809 ret_pid(3759) child(3759) status(0x0)
2005-11-26 22:00:15.816 External Tuning program exited with no error
2005-11-26 22:00:15.887 Channel(/dev/video1)::Open(): Can't open video device, error "No such device"
2005-11-26 22:00:15.914 Channel(/dev/video1)::Open(): Can't open video device, error "No such device"
2005-11-26 22:00:15.922 ChannelBase: Could not find input: Composite on card when setting channel 3

2005-11-26 22:00:15.942 New DB scheduler connection
2005-11-26 22:00:15.961 mythbackend version: 0.18.1.20050523-1 www.mythtv.org
2005-11-26 22:00:15.975 Enabled verbose msgs : important general
2005-11-26 22:00:17.957 Reschedule requested for id -1.
2005-11-26 22:00:18.882 Scheduled 3 items in 0.9 = 0.87 match + 0.05 place
2005-11-26 22:00:18.895 Recording starts soon, AUTO-Startup assumed
2005-11-26 22:00:18.904 Started recording "FOX2 News at 10:00pm" on channel: 1002 on cardid: 3, sourceid 1
2005-11-26 22:00:18.929 Channel(/dev/video1)::Open(): Can't open video device, error "No such device"
2005-11-26 22:00:18.943 ChannelBase: Could not find input: Composite on card when setting channel 2

2005-11-26 22:00:19.379 Changing from None to RecordingOnly
2005-11-26 22:00:20.160 NVR: Error, cannot open DSP '/dev/dsp1'
open: No such device
2005-11-26 22:00:20.174 NVR: Could not detect audio blocksize
2005-11-26 22:00:20.202 Channel(/dev/video1)::Open(): Can't open video device, error "No such device"
2005-11-26 22:00:20.210 Tuning Error -- aborting recording
2005-11-26 22:00:20.274 TVRec: Recording Prematurely Stopped
2005-11-26 22:02:46.535 MainServer::HandleAnnounce Playback
2005-11-26 22:02:46.541 adding: mythtv as a client (events: 0)
2005-11-26 22:02:46.644 MainServer::HandleAnnounce Playback
2005-11-26 22:02:46.699 adding: mythtv as a client (events: 1)


MODULES:
root@mythtv:~# lsmod | egrep '^(wis|go)'
wis_sony_tuner          9608  0
wis_uda1342             4864  0
wis_saa7115             7040  0
go7007_usb             14080  0
go7007                 49920  4 wis_sony_tuner,wis_uda1342,wis_saa7115,go7007_usb


FROM DMESG:

pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 22
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 4
ehci_hcd 0000:00:1d.7: irq 22, io mem 0xda100000
PCI: cache line size of 128 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 6 ports detected
usb 1-1: USB disconnect, address 2
usb 4-1: new high speed USB device using ehci_hcd and address 2
go7007-usb: probing new GO7007 USB board
go7007: registering new Plextor PX-TV402U-NA
wis-saa7115: initializing SAA7115 at address 32 on WIS GO7007SB EZ-USB
wis-uda1342: initializing UDA1342 at address 26 on WIS GO7007SB EZ-USB
wis-sony-tuner: initializing tuner at address 96 on WIS GO7007SB EZ-USB
wis-sony-tuner: type set to 202 (Sony NTSC (BTF-PB463Z))



FROM /var/log/messages:
Debug turned on in firmware.agent

Nov 26 22:00:16 mythtv kernel: pci_hotplug: PCI Hot Plug PCI Core version: 0.5                                                           
Nov 26 22:00:16 mythtv kernel: shpchp: Standard Hot Plug PCI Controller Driver version: 0.4                                             
Nov 26 22:00:16 mythtv pci.agent[3824]:      shpchp: loaded successfully                                                                 
Nov 26 22:00:16 mythtv pci.agent[3894]:      uhci-hcd: already loaded                                                                   
Nov 26 22:00:17 mythtv pci.agent[3922]:      uhci-hcd: already loaded                                                                   
Nov 26 22:00:17 mythtv pci.agent[3950]:      uhci-hcd: already loaded                                                                   
Nov 26 22:00:18 mythtv kernel: ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 22                                     
Nov 26 22:00:18 mythtv kernel: ehci_hcd 0000:00:1d.7: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller                   
Nov 26 22:00:18 mythtv kernel: ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 4                                     
Nov 26 22:00:18 mythtv kernel: ehci_hcd 0000:00:1d.7: irq 22, io mem 0xda100000                                                         
Nov 26 22:00:18 mythtv kernel: ehci_hcd 0000:00:1d.7: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004                                 
Nov 26 22:00:18 mythtv kernel: hub 4-0:1.0: USB hub found                                                                               
Nov 26 22:00:18 mythtv kernel: hub 4-0:1.0: 6 ports detected                                                                             
Nov 26 22:00:18 mythtv kernel: usb 1-1: USB disconnect, address 2                                                                       
Nov 26 22:00:19 mythtv pci.agent[3978]:      ehci-hcd: loaded successfully                                                               
Nov 26 22:00:19 mythtv usb.agent[4027]:      usbcore: already loaded                                                                     
Nov 26 22:00:19 mythtv kernel: usb 4-1: new high speed USB device using ehci_hcd and address 2                                           
Nov 26 22:00:20 mythtv kernel: go7007: registering new Plextor PX-TV402U-NA                                                             
Nov 26 22:00:20 mythtv usb.agent[4102]:      go7007-usb: already loaded                                                                 
Nov 26 22:00:20 mythtv kernel: wis-sony-tuner: type set to 202 (Sony NTSC (BTF-PB463Z))                                                 
Nov 26 22:00:20 mythtv pci.agent[4087]:      hw_random: can't be loaded                                                                 
Nov 26 22:00:20 mythtv pci.agent[4087]: missing kernel or user mode driver hw_random                                                     
Nov 26 22:00:20 mythtv pci.agent[4087]:      shpchp: already loaded                                                                     
Nov 26 22:00:21 mythtv pci.agent[4317]:      tpm_atmel: loaded successfully                                                             
Nov 26 22:00:21 mythtv kernel: tpm_inf 0000:00:1f.0: LPC-bus found at 0x24c0                                                             
Nov 26 22:00:21 mythtv kernel: tpm_inf: probe of 0000:00:1f.0 failed with error -5                                                       
Nov 26 22:00:21 mythtv pci.agent[4317]:      tpm_infineon: loaded successfully                                                           
Nov 26 22:00:21 mythtv pci.agent[4317]:      tpm_nsc: already loaded                                                                     
Nov 26 22:00:22 mythtv pci.agent[4432]:      i2c-i801: already loaded                                                                   
Nov 26 22:00:23 mythtv pci.agent[4460]:      snd-intel8x0: already loaded                                                               
Nov 26 22:00:23 mythtv pci.rc[3785]:      ignoring pci display device on 01:00.0                                                         
Nov 26 22:00:23 mythtv pci.agent[4498]:      ivtv: already loaded                                                                       
Nov 26 22:00:24 mythtv pci.agent[4526]:      dmfe: already loaded                                                                       
Nov 26 22:00:24 mythtv kernel: Linux Tulip driver version 1.1.13 (May 11, 2002)                                                         
Nov 26 22:00:24 mythtv pci.agent[4526]:      tulip: loaded successfully                                                                 
Nov 26 22:00:26 mythtv usb.agent[4650]:      go7007-usb: already loaded                   


FROM /var/log/syslog:
Debug turned on in firmware.agent

Nov 26 22:00:16 mythtv kernel: pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Nov 26 22:00:16 mythtv kernel: shpchp: shpc_init : shpc_cap_offset == 0
Nov 26 22:00:16 mythtv kernel: shpchp: shpc_init : shpc_cap_offset == 0
Nov 26 22:00:16 mythtv kernel: shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Nov 26 22:00:16 mythtv pci.agent[3824]:      shpchp: loaded successfully
Nov 26 22:00:16 mythtv pci.agent[3894]:      uhci-hcd: already loaded
Nov 26 22:00:17 mythtv pci.agent[3922]:      uhci-hcd: already loaded
Nov 26 22:00:17 mythtv pci.agent[3950]:      uhci-hcd: already loaded
Nov 26 22:00:18 mythtv kernel: ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 22
Nov 26 22:00:18 mythtv kernel: PCI: Setting latency timer of device 0000:00:1d.7 to 64
Nov 26 22:00:18 mythtv kernel: ehci_hcd 0000:00:1d.7: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller
Nov 26 22:00:18 mythtv kernel: ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 4
Nov 26 22:00:18 mythtv kernel: ehci_hcd 0000:00:1d.7: irq 22, io mem 0xda100000
Nov 26 22:00:18 mythtv kernel: PCI: cache line size of 128 is not supported by device 0000:00:1d.7
Nov 26 22:00:18 mythtv kernel: ehci_hcd 0000:00:1d.7: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
Nov 26 22:00:18 mythtv kernel: hub 4-0:1.0: USB hub found
Nov 26 22:00:18 mythtv kernel: hub 4-0:1.0: 6 ports detected
Nov 26 22:00:18 mythtv kernel: usb 1-1: USB disconnect, address 2
Nov 26 22:00:19 mythtv pci.agent[3978]:      ehci-hcd: loaded successfully
Nov 26 22:00:19 mythtv usb.agent[4027]:      usbcore: already loaded
Nov 26 22:00:19 mythtv kernel: usb 4-1: new high speed USB device using ehci_hcd and address 2
Nov 26 22:00:19 mythtv kernel: go7007-usb: probing new GO7007 USB board
Nov 26 22:00:20 mythtv kernel: go7007: registering new Plextor PX-TV402U-NA
Nov 26 22:00:20 mythtv kernel: wis-saa7115: initializing SAA7115 at address 32 on WIS GO7007SB EZ-USB
Nov 26 22:00:20 mythtv usb.agent[4102]:      go7007-usb: already loaded
Nov 26 22:00:20 mythtv kernel: wis-uda1342: initializing UDA1342 at address 26 on WIS GO7007SB EZ-USB
Nov 26 22:00:20 mythtv kernel: wis-sony-tuner: initializing tuner at address 96 on WIS GO7007SB EZ-USB                                   
Nov 26 22:00:20 mythtv kernel: wis-sony-tuner: type set to 202 (Sony NTSC (BTF-PB463Z))                                                 
Nov 26 22:00:20 mythtv kernel: hw_random: RNG not detected                                                                               
Nov 26 22:00:20 mythtv modprobe: FATAL: Error inserting hw_random (/lib/modules/2.6.13.2-chw-3/kernel/drivers/char/hw_random.ko): No such
 device                                                                                                                                 
Nov 26 22:00:20 mythtv pci.agent[4087]:      hw_random: can't be loaded                                                                 
Nov 26 22:00:20 mythtv pci.agent[4087]: missing kernel or user mode driver hw_random                                                     
Nov 26 22:00:20 mythtv pci.agent[4087]:      shpchp: already loaded                                                                     
Nov 26 22:00:21 mythtv pci.agent[4317]:      tpm_atmel: loaded successfully                                                             
Nov 26 22:00:21 mythtv kernel: tpm_inf 0000:00:1f.0: LPC-bus found at 0x24c0                                                             
Nov 26 22:00:21 mythtv kernel: tpm_inf: probe of 0000:00:1f.0 failed with error -5          Nov 26 22:00:16 mythtv kernel: pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Nov 26 22:00:16 mythtv kernel: shpchp: shpc_init : shpc_cap_offset == 0
Nov 26 22:00:16 mythtv kernel: shpchp: shpc_init : shpc_cap_offset == 0
Nov 26 22:00:16 mythtv kernel: shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Nov 26 22:00:16 mythtv pci.agent[3824]:      shpchp: loaded successfully
Nov 26 22:00:16 mythtv pci.agent[3894]:      uhci-hcd: already loaded
Nov 26 22:00:17 mythtv pci.agent[3922]:      uhci-hcd: already loaded
Nov 26 22:00:17 mythtv pci.agent[3950]:      uhci-hcd: already loaded
Nov 26 22:00:18 mythtv kernel: ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 22
Nov 26 22:00:18 mythtv kernel: PCI: Setting latency timer of device 0000:00:1d.7 to 64
Nov 26 22:00:18 mythtv kernel: ehci_hcd 0000:00:1d.7: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller
Nov 26 22:00:18 mythtv kernel: ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 4
Nov 26 22:00:18 mythtv kernel: ehci_hcd 0000:00:1d.7: irq 22, io mem 0xda100000
Nov 26 22:00:18 mythtv kernel: PCI: cache line size of 128 is not supported by device 0000:00:1d.7
Nov 26 22:00:18 mythtv kernel: ehci_hcd 0000:00:1d.7: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
Nov 26 22:00:18 mythtv kernel: hub 4-0:1.0: USB hub found
Nov 26 22:00:18 mythtv kernel: hub 4-0:1.0: 6 ports detected
Nov 26 22:00:18 mythtv kernel: usb 1-1: USB disconnect, address 2
Nov 26 22:00:19 mythtv pci.agent[3978]:      ehci-hcd: loaded successfully
Nov 26 22:00:19 mythtv usb.agent[4027]:      usbcore: already loaded
Nov 26 22:00:19 mythtv kernel: usb 4-1: new high speed USB device using ehci_hcd and address 2
Nov 26 22:00:19 mythtv kernel: go7007-usb: probing new GO7007 USB board
Nov 26 22:00:20 mythtv kernel: go7007: registering new Plextor PX-TV402U-NA
Nov 26 22:00:20 mythtv kernel: wis-saa7115: initializing SAA7115 at address 32 on WIS GO7007SB EZ-USB
Nov 26 22:00:20 mythtv usb.agent[4102]:      go7007-usb: already loaded
Nov 26 22:00:20 mythtv kernel: wis-uda1342: initializing UDA1342 at address 26 on WIS GO7007SB EZ-USB
Nov 26 22:00:20 mythtv kernel: wis-sony-tuner: initializing tuner at address 96 on WIS GO7007SB EZ-USB                                   
Nov 26 22:00:20 mythtv kernel: wis-sony-tuner: type set to 202 (Sony NTSC (BTF-PB463Z))                                                 
Nov 26 22:00:20 mythtv kernel: hw_random: RNG not detected                                                                               
Nov 26 22:00:20 mythtv modprobe: FATAL: Error inserting hw_random (/lib/modules/2.6.13.2-chw-3/kernel/drivers/char/hw_random.ko): No such
 device                                                                                                                                 
Nov 26 22:00:20 mythtv pci.agent[4087]:      hw_random: can't be loaded                                                                 
Nov 26 22:00:20 mythtv pci.agent[4087]: missing kernel or user mode driver hw_random                                                     
Nov 26 22:00:20 mythtv pci.agent[4087]:      shpchp: already loaded                                                                     
Nov 26 22:00:21 mythtv pci.agent[4317]:      tpm_atmel: loaded successfully                                                             
Nov 26 22:00:21 mythtv kernel: tpm_inf 0000:00:1f.0: LPC-bus found at 0x24c0                                                             
Nov 26 22:00:21 mythtv kernel: tpm_inf: probe of 0000:00:1f.0 failed with error -5         


root@mythtv:~# lsusb                                                                                                                     
Bus 004 Device 002: ID 093b:a104 Plextor Corp.
Bus 004 Device 001: ID 0000:0000 
Bus 003 Device 001: ID 0000:0000 
Bus 002 Device 001: ID 0000:0000 
Bus 001 Device 001: ID 0000:0000 



I am running KnoppMyth on a Soyo SY-P4I845PE with 1 GB memory, a P4 3.06GHz 533 FSB. It is a hyperthreading cpu with the hyperthreading turned off per the Plextor instructions. I have a PVR-350 that works just fine. It is /dev/video0 while the Plextor is /dev/video1. Both are using the composite inputs from a set top box each. I am using a nVidia FX-5200 video card with the drivers installed by R5A26.

I have deleted and reinstalled my Plextor once already in Setup.

If I have left anything out, I apologize but my mind is really tired after fooling with this for hours. For all the googling I did, it did not seem to yield much. Help is appreciated.

Other than this R5A26 is a really nice release. If I did not have this Plextor, it would have been a breeze.

s

Author:  cesman [ Sat Nov 26, 2005 10:18 pm ]
Post subject: 

Try
Code:
update-rc.d -f mythtv-backend remove
update-rc.d mythtv-backend defaults 50
This should start the backend after hotplug. Please let me know if this works for you.

Author:  sparks [ Sun Nov 27, 2005 9:20 am ]
Post subject: 

Thanks Cesman. In my initial test it worked. It will take me a while to trust it but it looks like there is hope.

I had actually tried this mod earlier but it didn't have any effect. I think the device was hung, maybe the whole usb subsytem, after making so many changes and warm reboots. This time it was a slow, calm, and measured approach. I've have worked with linux for quite a while, NFS, Samba servers, Apache, installs, etc., but I never had to deal with usb or video. I think it was a case of knowing just enough to get me in trouble.

s

Author:  cesman [ Sun Nov 27, 2005 2:00 pm ]
Post subject: 

:) In the next release, I've set the backend to start after hotplug.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/