LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 07-01-2007, 07:55 PM   #1
ChillyWillie
LQ Newbie
 
Registered: May 2005
Location: Rhode Island, USA
Distribution: Ubuntu 7.04 (Feisty) & FC7
Posts: 28

Rep: Reputation: 15
libraw1394 changes between FC6 and FC7


This post was made on the linux1394.org mailing list, but if this is a known problem then some of you may already know a solution.

I have a custom firewire driver written in C that uses the libraw1394
library. I have no problems compiling/running on Fedora Core 6, but when I
installed FC7 I found out they have upgraded the 1394 stack. I used to be
able to just load the raw1394, ohci1394, and ieee1394 kernel modules and the
software worked just fine. With the new kernel modules fw_ohci, fw_core,
and fw_sbp2 my program fails on initialization when calling the function
raw1394_new_handle_on_port(0).

The API to the firewire stack has not changed, right? I can still compile
the source code with the <include/raw1394.h> header included. The same
problem happens at execution. Do I need to fix a symbolic link somewhere in
FC7 or do I need to rewrite my driver if I want to use the latest stack?

Thanks!

-Jason

uname -r:
2.6.21-1.3228.fc7

rpm -qa | grep 1394:
libraw1394-1.2.1-9.fc7
libraw1394-devel-1.2.1-9.fc7

lspci:
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller

dmesg (after connecting to FW device):
fw_core: phy config: card 0, new root=ffc1, gap count=5
fw_core: created new fw device fw1 (0 config rom retries)
 
Old 07-02-2007, 08:31 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
The ieee1394 stack in the Fedora kernel has issues. You should add yourself to the cc list on these two bugs: 243081 and 240771.
 
Old 07-02-2007, 09:10 PM   #3
ChillyWillie
LQ Newbie
 
Registered: May 2005
Location: Rhode Island, USA
Distribution: Ubuntu 7.04 (Feisty) & FC7
Posts: 28

Original Poster
Rep: Reputation: 15
Resolved: libraw1394 changes between FC6 and FC7 Reply to Thread

Turns out it's a permissions issue. Running my program as root worked fine. I just entered
Code:
chmod 666 /dev/fw0
and I was able to use it as a non-privileged user.

From glancing at the bug reports, it sounds like this is the cause of dvgrab breaking for most users.

Thanks!
 
  


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
Can't boot after upgrading from FC6 to FC7 dennis Fedora 5 06-15-2007 03:21 PM
Long start-up due to very slow udev after upgrading FC6 to FC7 Baran Fedora 2 06-03-2007 04:42 AM
Disappearing libraw1394 BobNutfield Linux - Newbie 4 01-09-2006 03:34 PM
kino and missing libraw1394 GTBlackwell Linux - Software 1 12-28-2005 11:34 PM
Problems installing libquicktime - libraw1394 Ross Clement Fedora 2 11-29-2005 01:15 PM


All times are GMT -5. The time now is 10:16 PM.

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