Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old October 31st, 2004   #1
jaboo
First Cup of Ubuntu
 
Join Date: Oct 2004
Beans: 11
HOWTO: DV Camcorder and /dev/raw1394

I am trying to work with kino and my dv camcorder. It was working just fine on Gentoo. The problem is that I am trying to get /dev/raw1394 to show up. When I issue the command tail -f /var/log/messages, I get the following output:

Quote:
Oct 31 17:33:00 localhost ieee1394.agent[4751]: dv1394: loaded successfullyOct 31 17:33:00 localhost kernel: ieee1394: raw1394: /dev/raw1394 device initialized
Oct 31 17:33:00 localhost ieee1394.agent[4751]: raw1394: loaded successfully
As you can see, raw1394 module gets loaded, and it says /dev/raw1394 device is initialized. However, looking in /dev, I do not see an entry for raw1394. Has anyone else had any experience with firewire devices on Ubuntu, maybe a dv camcorder on /dev/1394? Thanks for any help.
jaboo is offline   Reply With Quote
Old November 1st, 2004   #2
jaboo
First Cup of Ubuntu
 
Join Date: Oct 2004
Beans: 11
Re: DV Camcorder and /dev/raw1394 [SOLVED...sorta]

Well, I did find a solution, but I am not truly satisfied with it as it seems like a dirty hack. I am a former Gentoo user, and their user forums are top notch with some brilliant people. So, I went looking there for an answer, and I stumbled upon a thread that had some interesting info:

Quote:
it appears that the raw1394 driver does not yet export info into SYSFS, therefore udev can't create nodes for it.
for now, you can use:
mknod /dev/raw1394 c 171 0
So, I basically edited the /etc/init.d/bootmisc.sh file with the following:
Quote:
# Begin Edit. 20041031 RCB - Added to hopefully get the raw1394 devicenode.
mknod /dev/raw1394 c 171 0
chown root:video /dev/raw1394
chmod 666 /dev/raw1394
#End Edit

: exit 0
Of course, this creates a device node called /dev/raw1394 each time I boot the system. It works, but I hope a more elegant solution involving udev can be found in the future.
jaboo is offline   Reply With Quote
Old March 15th, 2005   #3
[S2]
Just Give Me the Beans!
 
[S2]'s Avatar
 
Join Date: Jan 2005
Beans: 26
Re: DV Camcorder and /dev/raw1394 [SOLVED...sorta]

this made my dv camera work. thanks for posting the solution.
[S2] is offline   Reply With Quote
Old March 16th, 2005   #4
trash
Skinny Soy Caramel Ubuntu
 
trash's Avatar
 
Join Date: Nov 2004
Location: Quebec
Beans: 687
Ubuntu 9.04 Jaunty Jackalope
Re: HOWTO: DV Camcorder and /dev/raw1394

didn't do anything for me
trash is offline   Reply With Quote
Old March 19th, 2005   #5
trash
Skinny Soy Caramel Ubuntu
 
trash's Avatar
 
Join Date: Nov 2004
Location: Quebec
Beans: 687
Ubuntu 9.04 Jaunty Jackalope
Re: HOWTO: DV Camcorder and /dev/raw1394

YAY! Thanks guys, this is the first real progress I've made getting my ibot webcam working.

with the above and 'mknod /dev/video1394 c 171 16' in the bootmisc.sh file it's working... controls in GM don't work but at least now i have an image. I might also have to add a line to add the device to the 'video' group to give user full control.

edit:
I should also add that i am doing this in hoary with the 'libptdv-plugin' from universe/multi.. for those interested.

Last edited by trash; March 19th, 2005 at 11:07 PM..
trash is offline   Reply With Quote
Old March 22nd, 2005   #6
rkn
5 Cups of Ubuntu
 
rkn's Avatar
 
Join Date: Nov 2004
Location: New Hampshire USA
Beans: 24
Re: HOWTO: DV Camcorder and /dev/raw1394

What works for me is to add:
raw1394
video1394
to my /etc/modules file.
Once I did this, my device file was created automaticaly by udev.

Bob
rkn is offline   Reply With Quote
Old March 22nd, 2005   #7
trash
Skinny Soy Caramel Ubuntu
 
trash's Avatar
 
Join Date: Nov 2004
Location: Quebec
Beans: 687
Ubuntu 9.04 Jaunty Jackalope
Re: HOWTO: DV Camcorder and /dev/raw1394

Quote:
Originally Posted by rkn
What works for me is to add:
raw1394
video1394
to my /etc/modules file.
Once I did this, my device file was created automaticaly by udev.

Bob

Strange, I commented out what I had in my bootmisc.sh file and added what you did to my modules file, rebooted and nothing was created. I no understand!
Are you using a webcam or camcorder, if its a webcam do your image controls in gnomemeeting work? I cannot alter my image at all.
trash is offline   Reply With Quote
Old August 20th, 2005   #8
lompolo
5 Cups of Ubuntu
 
Join Date: Aug 2005
Beans: 34
Unhappy Re: HOWTO: DV Camcorder and /dev/raw1394

I have Canon MV20 pal camcorder. Doesn´t work with Kino. When I am trying to capture, Kino says cannot read/write /dev/raw1394. Group and others have rw-priviledges to /dev/raw1394. When I turn computer on camcorder in play mode, there is some ieee1394 errors.

Help me to get started solving this problem please.
lompolo is offline   Reply With Quote
Old August 20th, 2005   #9
claydoh
Way Too Much Kubuntu
 
claydoh's Avatar
 
Join Date: Mar 2005
Location: Brewer, Maine US
Beans: 266
Kubuntu 9.04 Jaunty Jackalope
Send a message via Yahoo to claydoh
Re: HOWTO: DV Camcorder and /dev/raw1394

Take a look at these posts and specifically this link found there.

The dev nodes are created but users do not have read/write permissions. This can be changed easily but upon reboot it the permissions are reset. The method described in the second link above solves that problem.
__________________
Ubuntu Maine-iacs LoCo Team -
| MaineTeam Wiki | Launchpad Entry | irc.freenode.net #ubuntu-maine

claydoh is offline   Reply With Quote
Old August 29th, 2005   #10
imwithstupid
First Cup of Ubuntu
 
Join Date: Mar 2005
Beans: 6
Re: HOWTO: DV Camcorder and /dev/raw1394

I'm having similar problems.

Samsung D535 plugged into a firewire PCI card.
PCI card is recognized by hardware config stuff in ubuntu.
modified files so modules are loaded at startup for raw and video1394.
kino terminal output when set to raw1394 is:
Code:
ieee1394io.cc:355: errno: 22 (Invalid argument)
ieee1394io.cc:355: In function "virtual bool raw1394Reader::Open()": "raw1394_set_port( handle, port )" evaluated to -1
I don't know what this means...other than the -1 is for error (not 1 for working or 0 for completely off). Looks like it can't find the port, or open the port?

Any help would be great (and would hopefully help other people too).
imwithstupid is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:00 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry