LinHES Forums http://forum.linhes.org/ |
|
Firewire/IEEE 1394 port: permission denied http://forum.linhes.org/viewtopic.php?f=5&t=8400 |
Page 1 of 1 |
Author: | dix [ Thu Feb 09, 2006 10:08 am ] |
Post subject: | Firewire/IEEE 1394 port: permission denied |
Hi, it is not clear to me where precisely I should post this - I've tried 'Installation' for a similar post, however it was deleted (for good reason I'm sure). According to http://mysettopbox.tv/phpBB2/viewtopic.php?t=2696 'if you not certain wher e to post then do so in Linux -> General'. So: I'm trying to use Firewire from my Motorola DCT 6412 III as my Video Source. In http://mysettopbox.tv/phpBB2/viewtopic. ... highlight= problems with missing symbol 'raw1394_bandwidth_modify' are mentioned. It seems the solution is to install a couple of packages. For me however I then have the problem that when I do 'Live TV' I get a blank screen and in /var/log/mythtv/mythbackend.log, first I have repeatedly Code: 2006-02-09 10:12:43.488 MainServer::HandleAnnounce Playback 2006-02-09 10:12:43.488 adding: myth as a client (events: 0) and then Code: 2006-02-09 10:12:38.375 adding: myth as a remote ringbuffer 2006-02-09 10:12:45.564 Changing from None to WatchingLiveTV 2006-02-09 10:12:45.570 Firewire: Initializing Port: 0, Node: 1, Speed: 100Mbps 2006-02-09 10:12:45.573 Firewire: unable to get handle for port: 0, bailing firewire port: Permission denied 2006-02-09 10:12:45.584 TVRec: Recording Prematurely Stopped Before adding the libraries (libiec61883-0 and libiec61883-dev) when I did 'plugreport' I got sensible output however now I get Code: raw1394 - couldn't get handle: Permission denied This error usually means that the raw1394 driver is not loaded or that /dev/raw1394 does not exist. lsmod|grep 1394 gives me: Code: raw1394 26988 0
dv1394 20300 0 ohci1394 32436 1 dv1394 ieee1394 299352 3 raw1394,dv1394,ohci1394 I'm not really sure which direction to go here. Any thoughts? |
Author: | bkzshabbaz [ Thu Feb 09, 2006 12:50 pm ] |
Post subject: | |
What are the permissions on /dev/raw1394? if it doesnt exist, you may need to create it, using Code: mknod /dev/raw1394 c 171 0
|
Author: | dix [ Thu Feb 09, 2006 5:44 pm ] |
Post subject: | |
bkzshabbaz wrote: What are the permissions on /dev/raw1394?
if it doesnt exist, you may need to create it, using Code: mknod /dev/raw1394 c 171 0 Exists - and I tried changing permissions previously (it was initially crw-rw----, tried to change it to crw-rw-rw- but the final w didn't 'take' for some reason so it went to crw-rw-r--) but it made no difference. Just then tried deleting it and recreating it (permissions go to crw-r--r--), but still the same error. What is odd is that it is after installing libiec61883-0 and libiec61883-dev that plugreport started showing these errors. |
Author: | dix [ Thu Feb 09, 2006 10:57 pm ] |
Post subject: | |
Okay: fearing I had destabilized my system in some way that I reinstalled (using R5A30.2 this time), using the auto install. The raw1394_bandwidth_modify problem is removed by choosing 'Broadcast' rather than 'Point to Point' in the Capture Cards/Firewire Connection Type field. I now get 15 seconds of blank screen with the mythbackend trace: Code: mythtv@mythtv:~$ mythbackend -d&
[2] 9995 mythtv@mythtv:~$ 2006-02-09 22:07:41.056 New DB connection, total: 1 Starting up as the master server. 2006-02-09 22:07:41.085 New DB connection, total: 2 2006-02-09 22:07:41.099 FireWireChannel: allocated raw1394 handle for port 0 2006-02-09 22:07:41.108 FireWireChannel: channel:003 cmds: 0x487c20, 0x487c20, 0x487c23 2006-02-09 22:07:42.650 New DB scheduler connection 2006-02-09 22:07:42.669 mythbackend version: 0.18.1.20050523-1 www.mythtv.org 2006-02-09 22:07:42.676 Enabled verbose msgs : important general 2006-02-09 22:07:44.669 Reschedule requested for id -1. 2006-02-09 22:07:44.825 Scheduled 0 items in 0.2 = 0.15 match + 0.00 place 2006-02-09 22:07:44.828 Seem to be woken up by USER 2006-02-09 22:30:04.483 MainServer::HandleAnnounce Playback 2006-02-09 22:30:04.484 adding: mythtv as a client (events: 0) 2006-02-09 22:30:04.519 MainServer::HandleAnnounce Playback 2006-02-09 22:30:04.519 adding: mythtv as a client (events: 1) 2006-02-09 22:30:04.543 MainServer::HandleAnnounce Playback 2006-02-09 22:30:04.544 adding: mythtv as a client (events: 0) 2006-02-09 22:30:04.579 MainServer::HandleAnnounce Playback 2006-02-09 22:30:04.579 adding: mythtv as a client (events: 0) 2006-02-09 22:30:04.595 adding: mythtv as a remote ringbuffer 2006-02-09 22:30:04.623 Changing from None to WatchingLiveTV 2006-02-09 22:30:04.630 Firewire: Initializing Port: 0, Node: 1, Speed: 200Mbps 2006-02-09 22:30:04.630 Firewire: Creating Broadcast Connection with Node: 1 2006-02-09 22:30:19.650 Firewire: No Input in 15 seconds [P:0 N:1] (select) 2006-02-09 22:30:19.693 Couldn't read data from the capture card in 15 seconds. Stopping. 2006-02-09 22:30:19.774 Changing from WatchingLiveTV to None 2006-02-09 22:30:19.774 Firewire: releasing iec61883_mpeg2 object 2006-02-09 22:30:19.774 Firewire: releasing raw1394 handle I've seen some posts concerning 'the 15 second problem' but no solution for this particular case as far as I can find. I can change channels using a slightly modified 6200ch.c - I added a correct DCT6412_VENDOR_ID2. I can record from the firewire port onto my Mac. Thus: I can communicate over the firewire cable FROM KnoppMyth TO the cable box and the box can be made to produce a good signal - but I can't get it going in MythTV yet ... |
Author: | finger51 [ Wed Mar 22, 2006 11:11 am ] |
Post subject: | |
Hey dix~ Did you get anywhere on this? my backend.log looks similar to yours. I'm currently plugged into my HP LCDTV via an i.link port. plugreport shows a device detected on node 0. broadcast_channel=63 when I try to capture using test-mpeg2 > test.ts it just produces a 0byte file without error. I'm guessing this means that either the TV is not sending the informaiton or test-mpeg2 is listening on the wrong port (?) how would I test this? I've played around with plugctl using tips here and other boards- always does the same thing. I've set my TV to a digital channel, and have the i.link config set to 'passthrough' - I've also tried the 'auto' setting. there doesn't seem to be much else within the TV that I can configure to pass the data out of the i.link port. Is it possible the tv is sending the data but it's in a form that test-mpeg2 just doesn't understand? This slim possibility has crossed my mind but I'd think it would at least capture the junk data that it didn't understand to the file... (not expecting an answer, just typing out loud i guess) I'm not going to worry about channel changing until I can at least get some data out of the TV. I'm guessing I'll have to cludge something out of the 6200ch.c file to enable channel change. I'll cross that bridge when I get to it. I was able to get beyond the 'permission denied' by chmod'ing 666 /dev/raw1394 |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |