Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: HOWTO: DV Camcorder and /dev/raw1394

  1. #1
    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:

    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.

  2. #2
    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:

    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:
    # 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.

  3. #3
    Join Date
    Jan 2005
    Beans
    37

    Re: DV Camcorder and /dev/raw1394 [SOLVED...sorta]

    this made my dv camera work. thanks for posting the solution.

  4. #4
    Join Date
    Nov 2004
    Location
    Quebec
    Beans
    741
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: HOWTO: DV Camcorder and /dev/raw1394

    didn't do anything for me

  5. #5
    Join Date
    Nov 2004
    Location
    Quebec
    Beans
    741
    Distro
    Kubuntu 12.04 Precise Pangolin

    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 20th, 2005 at 04:07 AM.

  6. #6
    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

  7. #7
    Join Date
    Nov 2004
    Location
    Quebec
    Beans
    741
    Distro
    Kubuntu 12.04 Precise Pangolin

    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.

  8. #8
    Join Date
    Aug 2005
    Beans
    39

    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.

  9. #9
    Join Date
    Mar 2005
    Beans
    273
    Distro
    Kubuntu Development Release

    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.


  10. #10
    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).

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •