LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 01-31-2004, 01:13 AM   #1
thelusiv
LQ Newbie
 
Registered: Jan 2004
Distribution: Debian Etch, Ubuntu Dapper
Posts: 4

Rep: Reputation: 0
pixelview playtv pro - remote


Hello, I have set up my Prolink Pixelview PlayTV Pro PV878P+(w/FM & remote - bttv card 72) in Linux, it works great. However, I have had no luck getting the remote control working properly. I am using kernel 2.4.22-26.

lspci:
Quote:
00:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Flags: bus master, medium devsel, latency 64, IRQ 12
Memory at eddfd000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2

00:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Flags: bus master, medium devsel, latency 64, IRQ 12
Memory at eddfe000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2
lsmod:
Quote:
Module Size Used by Tainted: P
lirc_gpio 6184 -2 (unused)
lirc_dev 10016 1 [lirc_gpio]
sr_mod 17016 0 (autoclean) (unused)
lp 8160 0 (autoclean) (unused)
parport 34472 0 (autoclean) [lp]
agpgart 53508 3 (autoclean)
nvidia 1765440 11 (autoclean)
nls_cp437 5116 6 (autoclean)
nls_iso8859-1 3484 6 (autoclean)
smbfs 40624 6 (autoclean)
af_packet 14856 0 (autoclean)
natsemi 18688 1 (autoclean)
supermount 84032 1 (autoclean)
ide-cd 34052 0
cdrom 32608 0 [sr_mod ide-cd]
tuner 11688 1 (autoclean)
tvaudio 16008 0 (autoclean) (unused)
bttv 99648 0 [lirc_gpio]
btaudio 12380 0 (autoclean) (unused)
es1371 27788 1 (autoclean)
ac97_codec 15828 0 (autoclean) [es1371]
gameport 3268 0 (autoclean) [es1371]
usbmouse 2936 0 (unused)
keybdev 2756 0 (unused)
mousedev 5428 1
i2c-algo-bit 8552 0 [bttv]
soundcore 6340 0 [bttv btaudio es1371]
hid 24164 0 (unused)
i2c-core 20484 0 [tuner tvaudio bttv i2c-algo-bit]
videodev 7936 3 [bttv]
input 5696 0 [usbmouse keybdev mousedev hid]
ide-scsi 11376 0
scsi_mod 105792 2 [sr_mod ide-scsi]
usb-ohci 21080 0 (unused)
usbcore 74988 1 [usbmouse hid usb-ohci]
rtc 9228 0 (autoclean)
ext3 60048 1
jbd 39296 1 [ext3]
modules.conf:
Quote:
#general
probeall scsi_hostadapter ide-scsi
probeall usb-interface usb-ohci
alias sound-slot-0 es1371
alias /dev/nvidia* nvidia
alias eth0 natsemi

#v4l stuff
options i2c-core i2c_debug=1
options i2c-algo-bit bit_test=1

#pixelview playtv pro
options bttv radio=1 card=72 gbuffers=4
options tuner type=2
pre-install bttv modprobe -k btaudio
pre-install btaudio modprobe -k sound-slot-0

#remote control
options lirc_gpio card=0 minor=0 gpio_mask=0x1f00 gpio_lock_mask=0x8000 gpio_xor_mask=0 soft_gap=400 sample_rate=12
alias char-major-61 lirc_gpio
meaningful stuff in dmesg:
Quote:
lirc_dev: IR Remote Control driver registered, at major 61
lirc_dev: lirc_register_plugin:sample_rate: 12
lirc_gpio (0): driver registered
Unable to handle kernel NULL pointer dereference at virtual address 00000000
printing eip:
00000000
*pde = 00000000
Oops: 0000
lirc_gpio lirc_dev sr_mod lp parport agpgart nvidia nls_cp437 nls_iso8859-1 smbfs af_packet natsemi supermount ide-cd cdrom tuner tvaudio bttv btaudio es1371 ac97_codec gameport usbmouse keybdev mousedev i2c-algo-bit soundcore hid i2c-core videodev input ide-scsi scsi_mod usb-ohci usbcore rtc ext3 jbd
CPU: 0
EIP: 0010:[<00000000>] Tainted: P
EFLAGS: 00010246
eax: d0a022f0 ebx: d0a00520 ecx: d0a00520 edx: 00000000
esi: d0a005c0 edi: cabfd2c0 ebp: cc3bdf64 esp: cc3bdf54
ds: 0018 es: 0018 ss: 0018
Process lircd (pid: 2302, stackpage=cc3bd000)
Stack: d09fe996 d0a022f0 cbb29640 c12cf320 cc3bdf84 c02027a5 cabfd2c0 cbb29640
c94fd420 cbb29640 cb6bc120 00000000 cc3bdfa8 c02010e8 cbb29640 cb6bc120
cbb29640 cb6bc120 cbb29640 00000004 00000000 cc3bdfbc c0201155 cbb29640
Call Trace:
[<d09fe996>] irctl_close+0x56/0xa0 [lirc_dev]
[<d0a022f0>] get_key+0x0/0x150 [lirc_gpio]
[<c02027a5>] fput+0xf5/0x100 [kernel]
[<c02010e8>] filp_close+0x38/0x60 [kernel]
[<c0201155>] sys_close+0x45/0x60 [kernel]
[<c01c4333>] system_call+0x33/0x40 [kernel]

Code: Bad EIP value.
As you can see, i'm getting a pretty nasty error message there. That's not immediately after loading the driver, that's after loading it, starting the lirc daemon (but not lircmd) and running irw to test. Sometimes, irw will just sit there and do nothing, other times it will just return me to a prompt, other times i will get an error message ("lost connection"). If I run xawtv, the TV works, but if lircd is running, the machine will freeze (no response to ctrl+alt+bkspc and no ssh response remotely).

I read in the lirc FAQ that Mandrake 9.2 uses for some reason /tmp/.lircd for everything so i made that a symlink to /dev/lirc/0. I also made sure to chmod 666 /dev/lirc/0. In the installation documentation for lirc there are module options specific to my card, I have included all those in my /etc/modules.conf. I am using a script (/etc/init.d/lircd) to start/stop/restart lircd, and have verified that it is indeed creating the process "lircd --driver=pixelview --device=/dev/lirc/0". I got the contents of my lircd.conf from the pixelview.conf included in the lircd-remotes package.

If anyone else has this card and uses the remote in Linux, or if you have any idea what might be wrong, please let me know. Thanks

chris

Last edited by thelusiv; 01-31-2004 at 10:02 AM.
 
Old 07-02-2004, 08:18 AM   #2
vagsoftware
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0
I have the f****** same problem and I'm not a newbie. It is something with the kernels. Try to compile lirc from cvs. I think you should search more about this subject on the internet. I must say that on my old grany distro Mandrake 9.0 everything worked, including the remote for KW-TV878-RF. I use the same settings as before but lirc-0.6.6 for mdk9.2 or later is broken. Shame on packagers.

Same problems with bttv grabbing and kernel panic, but solved with noacpi in lilo.conf. Shame on packagers.

Inform me if you find some answers, ok?
 
Old 07-02-2004, 12:42 PM   #3
thelusiv
LQ Newbie
 
Registered: Jan 2004
Distribution: Debian Etch, Ubuntu Dapper
Posts: 4

Original Poster
Rep: Reputation: 0
i messed with this until i just couldn't take it anymore. before giving up i joined the lirc-dev mailing list. i read posts for a long time, and finally started asking questions - i explained my problem and tried every solution offered to me. eventually they told me they wouldn't help me until i compiled my own kernel from kernel.org and did more testing. at the time i had no idea how to compile a kernel properly so i just gave up. the machine that has the tv card in it will eventually get gentoo'd but until then i'm not messing with it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Pixelview playtv MPEG2 Hexane Linux - Hardware 1 12-08-2008 10:41 AM
PixelView PlayTV Pro2 not being detected bnaveen2005 Linux - Hardware 0 11-22-2005 08:21 AM
PixelView PlayTV Pro installation problem mac1234mac Linux - Hardware 0 10-12-2005 12:50 PM
Pixelview playtv pro ultra Angotull Linux - Software 2 03-10-2004 06:36 AM
Prolink Pixelview PlayTV PRO & Slackware 9.1 Drax_NS Linux - Hardware 3 03-02-2004 07:26 AM


All times are GMT -5. The time now is 09:31 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration