LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-27-2008, 01:22 AM   #1
SD-user
LQ Newbie
 
Registered: Mar 2005
Posts: 22

Rep: Reputation: 15
Pinnacle HDTV (800e) remote not loading in em2880/em28xx


Hi all - for some reason when I boot my system, the input from my tvtuner (Pinnacle HDTV Pro Stick - 800e) does not load. I didn't have any problems until I upgraded from FC6 to Fedora 9. Compiling and everything went just fine. I used to have a line like (in dmesg):

input: em2880/em2870 remote control as /class/input/input4

It's not longer the case . . . and I can't seem to find the input anywhere. I'm running kernel 2.6.25

Here is my dmesg (the relevant parts, I think):

input: Macintosh mouse button emulation as /devices/virtual/input/input0
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
TCP cubic registered
Initializing XFRM netlink socket
registered taskstats version 1
Magic number: 12:688:669
Freeing unused kernel memory: 348k freed
Write protecting the kernel read-only data: 1116k
ACPI: PCI Interrupt Link [APCL] enabled at IRQ 23
ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [APCL] -> GSI 23 (level, low) -> IRQ 23
PCI: Setting latency timer of device 0000:00:02.1 to 64
ehci_hcd 0000:00:02.1: EHCI Host Controller
ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:02.1: debug port 1
PCI: cache line size of 64 is not supported by device 0000:00:02.1
ehci_hcd 0000:00:02.1: irq 23, io mem 0xfeb00000
ehci_hcd 0000:00:02.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 10 ports detected
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.25.6-55.fc9.x86_64 ehci_hcd
usb usb1: SerialNumber: 0000:00:02.1
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
ACPI: PCI Interrupt Link [APCF] enabled at IRQ 22
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [APCF] -> GSI 22 (level, low) -> IRQ 22
PCI: Setting latency timer of device 0000:00:02.0 to 64
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:02.0: irq 22, io mem 0xd0204000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 10 ports detected
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: OHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.25.6-55.fc9.x86_64 ohci_hcd
usb usb2: SerialNumber: 0000:00:02.0
USB Universal Host Controller Interface driver v3.0
SCSI subsystem initialized
Driver 'sd' needs updating - please use bus_type methods
libata version 3.00 loaded.
pata_amd 0000:00:06.0: version 0.3.10
PCI: Setting latency timer of device 0000:00:06.0 to 64
usb 1-2: new high speed USB device using ehci_hcd and address 2
usb 1-2: configuration #1 chosen from 1 choice
usb 1-2: New USB device found, idVendor=2304, idProduct=0227
usb 1-2: New USB device strings: Mfr=3, Product=1, SerialNumber=2
usb 1-2: Product: PCTV 800e
usb 1-2: Manufacturer: Pinnacle Systems
usb 1-2: SerialNumber: 070101022913
hub 1-0:1.0: unable to enumerate USB device on port 7
usb 1-8: new high speed USB device using ehci_hcd and address 4
usb 1-8: configuration #1 chosen from 1 choice
usb 1-8: New USB device found, idVendor=2304, idProduct=023b
usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-8: Product: PCTV 801e SE
usb 1-8: Manufacturer: YUANRD
usb 1-8: SerialNumber: 0700553223
usb 2-7: new low speed USB device using ohci_hcd and address 2
usb 2-7: configuration #1 chosen from 1 choice
input: USB-compliant keyboard as /devices/pci0000:00/0000:00:02.0/usb2/2-7/2-7:1.0/input/input1
input,hidraw0: USB HID v1.10 Keyboard [USB-compliant keyboard] on usb-0000:00:02.0-7
input: USB-compliant keyboard as /devices/pci0000:00/0000:00:02.0/usb2/2-7/2-7:1.1/input/input2
input,hidraw1: USB HID v1.10 Mouse [USB-compliant keyboard] on usb-0000:00:02.0-7
usb 2-7: New USB device found, idVendor=0518, idProduct=0001
usb 2-7: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 2-7: Product: USB-compliant keyboard
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
SELinux: Disabled at runtime.
SELinux: Unregistering netfilter hooks
type=1404 audit(1214545228.951:2): selinux=0 auid=4294967295 ses=4294967295
Driver 'sr' needs updating - please use bus_type methods
sr0: scsi3-mmc drive: 1x/48x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 1:0:0:0: Attached scsi CD-ROM sr0
i2c-adapter i2c-0: nForce2 SMBus adapter at 0x4c00
i2c-adapter i2c-1: nForce2 SMBus adapter at 0x4c40
input: Power Button (FF) as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input4
ACPI: Power Button (CM) [PWRB]
Linux video capture interface: v2.00
em28xx v4l2 driver version 0.1.0 loaded
em28xx new video device (2304:0227): interface 0, class 255
em28xx Doesn't have usb audio class
em28xx #0: Alternate settings: 8
em28xx #0: Alternate setting 0, max size= 0
em28xx #0: Alternate setting 1, max size= 0
em28xx #0: Alternate setting 2, max size= 1448
em28xx #0: Alternate setting 3, max size= 2048
em28xx #0: Alternate setting 4, max size= 2304
em28xx #0: Alternate setting 5, max size= 2580
em28xx #0: Alternate setting 6, max size= 2892
em28xx #0: Alternate setting 7, max size= 3072
em28xx #0: chip ID is em2882/em2883
em28xx #0: i2c eeprom 00: 1a eb 67 95 04 23 27 02 d0 12 5c 03 8e 16 a4 1c
em28xx #0: i2c eeprom 10: 6a 24 27 57 46 07 01 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 20: 46 00 01 00 f0 10 02 00 b8 00 00 00 5b 1c 00 00
em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 01 01 00 00 00 00 00 00
em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 24 03 50 00 69 00
em28xx #0: i2c eeprom 70: 6e 00 6e 00 61 00 63 00 6c 00 65 00 20 00 53 00
em28xx #0: i2c eeprom 80: 79 00 73 00 74 00 65 00 6d 00 73 00 00 00 16 03
em28xx #0: i2c eeprom 90: 50 00 43 00 54 00 56 00 20 00 38 00 30 00 30 00
em28xx #0: i2c eeprom a0: 65 00 00 00 1c 03 30 00 37 00 30 00 31 00 30 00
em28xx #0: i2c eeprom b0: 31 00 30 00 32 00 32 00 39 00 31 00 33 00 00 00
em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
EEPROM ID= 0x9567eb1a, hash = 0x3ae5a4bf
Vendor/Product ID= 2304:0227
AC97 audio (5 sample rates)
500mA max power
Table at 0x27, strings=0x168e, 0x1ca4, 0x246a
tuner' 2-0061: chip found @ 0xc2 (em28xx #0)
xc2028 2-0061: creating new instance
xc2028 2-0061: type set to XCeive xc2028/xc3028 tuner
input: PC Speaker as /devices/platform/pcspkr/input/input5
forcedeth 0000:00:0a.0: ifname eth0, PHY OUI 0x5043 @ 9, addr 00:13:d4:2d:29:95
forcedeth 0000:00:0a.0: highdma csum timirq gbit lnktim desc-v3
sata_nv 0000:00:07.0: version 3.5
ACPI: PCI Interrupt 0000:00:07.0[A] -> Link [APSI] -> GSI 21 (level, low) -> IRQ 21
sata_nv 0000:00:07.0: Using ADMA mode
PCI: Setting latency timer of device 0000:00:07.0 to 64
scsi2 : sata_nv
scsi3 : sata_nv
ata3: SATA max UDMA/133 cmd 0x9f0 ctl 0xbf0 bmdma 0xd800 irq 21
ata4: SATA max UDMA/133 cmd 0x970 ctl 0xb70 bmdma 0xd808 irq 21
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
nvidia: module license 'NVIDIA' taints kernel.
ata3: SATA link down (SStatus 0 SControl 300)
parport_pc 00:09: reported by Plug and Play ACPI
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
gameport: NS558 PnP Gameport is pnp00:0b/gameport0, io 0x201, speed 897kHz
ata4: SATA link down (SStatus 0 SControl 300)
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
xc2028 2-0061: Loading 80 firmware images from xc3028-v27.fw, type: xc2028 firmware, ver 2.7
xc2028 2-0061: Loading firmware for type=BASE MTS (5), id 0000000000000000.
firewire_core: created device fw0: GUID 0011d80000413f9a, S400
ppdev: user-space parallel port driver
ata5: SATA link down (SStatus 0 SControl 300)
ata6: SATA link down (SStatus 0 SControl 300)
ACPI: PCI Interrupt 0000:06:00.0[A] -> Link [APC1] -> GSI 16 (level, low) -> IRQ 16
eth1: Hardware identity 8013:0000:0001:0000
eth1: Station identity 001f:0005:0001:0003
eth1: Firmware determined as Intersil 1.3.5
eth1: Ad-hoc demo mode supported
eth1: IEEE standard IBSS ad-hoc mode supported
eth1: WEP supported, 104-bit key
eth1: MAC address 00:05:3c:00:82:65
eth1: Station name "Prism I"
eth1: ready
eth1: orinoco_pci at 0000:06:00.0
ieee80211_crypt: registered algorithm 'NULL'
xc2028 2-0061: Loading firmware for type=MTS (4), id 000000000000b700.
tvp5150 2-005c: tvp5150am1 detected.
em28xx #0: V4L2 device registered as /dev/video0 and /dev/vbi0
em28xx #0: Found Pinnacle PCTV HD Pro Stick
usbcore: registered new interface driver em28xx
em28xx-audio.c: probing for em28x1 non standard usbaudio
em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
Em28xx: Initialized (Em28xx Audio Extension) extension
xc2028 2-0061: attaching existing instance
xc2028 2-0061: type set to XCeive xc2028/xc3028 tuner
em28xx #0/2: xc3028 attached
DVB: registering new adapter (em28xx #0)
DVB: registering frontend 0 (LG Electronics LGDT3303 VSB/QAM Frontend)...
Successfully loaded em28xx-dvb
Em28xx: Initialized (Em28xx dvb Extension) extension
warning: `dbus-daemon' uses deprecated v2 capabilities in a way that may be insecure.
fuse init (API version 7.9)
tvp5150 2-005c: tvp5150am1 detected.
eth0: no IPv6 routers present
Bluetooth: Core ver 2.11
pan0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
ADDRCONF(NETDEV_UP): eth1: link is not ready
eth1: New link status: Disconnected (0002)
eth1: New link status: Connected (0001)
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
xc2028 2-0061: Loading firmware for type=D2633 DTV6 ATSC (10030), id 0000000000000000.
eth1: no IPv6 routers present
 
Old 06-28-2008, 11:46 PM   #2
hwertz
LQ Newbie
 
Registered: Jun 2008
Posts: 3

Rep: Reputation: 0
Pinnacle HDTV 801e

I just got one of these too. Unfortunately (?) note in your log that it's not an 800e but an 801e. From what I've gathered, this actually doesn't use em288x chip at all like the 800e, but a DiBcom DiB7700 chip. I found a page on linuxtv.org that says this has DiB7700 glue chip, S5H1411 ATSC/QAM demodulator, XC5000 tuner, 5340CZZ audio chip (they say probably for FM) and cx25843 encoder chip (probably to digitize analog TV). So, I googled, and the DiB7700 and CX25843 have support in current stock kernels. S5H1411 and XC5000 have support in various dvb-test code floating around -- I'd guess this thing will be supported very soon.
 
Old 06-29-2008, 06:43 PM   #3
SD-user
LQ Newbie
 
Registered: Mar 2005
Posts: 22

Original Poster
Rep: Reputation: 15
I actually have both the 800e and the 801e - the log lists both tvtuners. Like you, I recently bought the 801e, but have been unable to get it working. From my reading, it will be supported in kernel 2.6.26 (Fedora 9, for instance, is running 2.6.25). Do you think this tvtuner will work out of the box when it is finally supported in the kernel?

I bought the 800e about 18-20 months ago, had it working just fine with Fedora Core 6 (remote too) . . . and then made an upgrade to Fedora 9 - and the remote stopped working. The 800e is definitely an em28xx-based chip.

According to linuxtv, the remote is not supported:

http://www.linuxtv.org/wiki/index.ph...ick_%28800e%29

But, I compiled the kernel using the v4l-dvb-kernel packages from Markus Rechberger here:

http://mcentral.de/wiki/index.php5/Em2880

Anyone else have any ideas?
 
Old 06-30-2008, 12:10 AM   #4
hwertz
LQ Newbie
 
Registered: Jun 2008
Posts: 3

Rep: Reputation: 0
"From my reading, it will be supported in kernel 2.6.26 (Fedora 9, for instance, is running 2.6.25). Do you think this tvtuner will work out of the box when it is finally supported in the kernel?"
Yeah, I'd guess so. From what I've read, in fact the v4l-dvb stuff from linuxtv.org is getting merged into the mainline kernel for 2.6.25 and more in 2.6.26.

It's funny the IR is not working on the 800e; on the 801e, I'd read someone got the IR to work but nothing else 8-).

Well, I'm planning to hack on it a bit.. I've signed up for linux-dvb mailing list, and (once I post to make sure someone's not already 99% done) intend to rip XC5000 code out of the cx88 driver (which supoorts cx88+XC5000 and cx88+XC3028 both.. I'm hoping I can compare that to the existing DiB0700+XC3028 support to generate support for DiB0700+XC5000. The code looks pretty clean and separable to me. I see there's now support for the S5H1411 done DVB-driver-style, so that should be like 1 line to specify "hey, 801e uses S5H1411 for a tuner". The code for the CX2584x in several drivers looks f'nasty (not poorly written, but it looks like the chip needs LOTS of prodding, hand-holding and general kicking), so I'm guessing my initial driver won't do analog 8-).

As for 800e.. I don't know. The mcentral.de drivers certainly sound like they are more feature-complete from what I've read, but I suppose I'd try the linuxtv.org code and just see if it works if the mcentral doesn't.
 
Old 06-30-2008, 05:49 PM   #5
SD-user
LQ Newbie
 
Registered: Mar 2005
Posts: 22

Original Poster
Rep: Reputation: 15
Interesting. Do you have a link to a website where someone else got the IR working? Do you know how they did it?

I tried compiling both the mcentral.de and linuxtv.org v4l-dvb drivers/firmware. The mcentral.de package actually did not work in 2.6.25. (whereas linuxtv did). My guess is that the drivers were not built into the kernel to support the IR remote - only tv viewing (although I will have to admit that the tv viewing experience has been less than fantastic too - I have more glitches than before). I got the 801e so I can record my cable channels.

Here's a thread where some people were working on drivers for the 801e:
http://thread.gmane.org/gmane.linux.drivers.dvb/40970

You might see what they have to say. Let me know if you manage to get a driver working for the 801e.
 
Old 07-18-2008, 12:19 AM   #6
SD-user
LQ Newbie
 
Registered: Mar 2005
Posts: 22

Original Poster
Rep: Reputation: 15
Now that I'm digging into this subject a little deeper, it appears there are two different drivers for the 800e:

1) Markus Rechberger's drivers
2) Linuxtv.org

According to this thread, the two different firmwares are written completely differently:

http://lists-archives.org/video4linu...supported.html

I suppose this would explain why my remote worked with Markus' firmware/drivers and why it is no longer working now that I installed the linuxtv firmware/drivers - I basically followed the instructions here for building the xc3028-v27.fw firmware file: http://www.linuxtv.org/wiki/index.ph...ro_Stick_(800e).

Since upgrading to Fedora 9 I have been unable to compile the v4l-dvb-kernel (mcentral.de/hg/~mrec/v4l-dvb-kernel)or v4l-dvb-experimental (mcentral.de/hg/~mrec/v4l-dvb-experimental) packages found here. I've seen some information about a new package: em28xx-new (mcentral.de/hg/~mrec/em28xx-new)?? Does anyone know anything about this? What tuners, chipsets, kernels does this support and/or compatible with?

Does anyone know how to compile Markus' firmware with Fedora 9?

I added the linuxtv drivers with yum in Fedora 9 (video4linux package). Does anyone know if I can uninstall those drivers and install Markus' drivers?

Honestly, Markus' drivers work much better (both in reception and obviously the remote), so any help would be appreciated.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up Pinnacle PCTV Stereo Remote in LIRC in Slackware 12 gopi.d Slackware 4 11-07-2007 04:27 AM
em2880-dvb hangs after udev on boot Bob Jones Linux - Hardware 2 09-18-2007 01:29 AM
Mythtv no analog sound - pinnacle hdtv pro stick Bob Jones Linux - Hardware 1 07-16-2007 01:09 AM
Impossibility to use a Pinnacle DC10+ and a Pinnacle PCTV Pro at the same time vaisarger Linux - Hardware 1 08-27-2004 04:56 AM
Re: Loading OS via remote CD-rom prac2 Linux - Newbie 8 09-05-2002 09:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration