Author Topic: Firewire Problem (SOLVED)  (Read 2406 times)

Offline ff103

  • Hero Member
  • *****
  • Posts: 711
    • The City Of Paintsville, Ky.
Firewire Problem (SOLVED)
« on: March 21, 2010, 10:58:15 AM »
O K I just searched and found an old thread on this and thought I would try my camcorder with 2010 beta2 and I seem to have the same problem. Kino reports that "the raw1394 module must be loaded and you must have read/write access to /dev/raw1394" . So how do I load raw1394 and I guess I can go back a few posts and get the permission info. Below is the report from lsmod. Synaptic shows "libraw1394_8" and "libec61883_0" are installed when I search raw1394. Thanks for any help.
[ray@localhost ~]$ lsmod
Module                  Size  Used by
lp                      6790  0
nfsd                  201133  11
lockd                  56030  1 nfsd
nfs_acl                 1977  1 nfsd
auth_rpcgss            29156  1 nfsd
sunrpc                168759  11 nfsd,lockd,nfs_acl,auth_rpcgss
exportfs                2953  1 nfsd
af_packet              13939  2
ipv6                  225109  24
nvidia               8866583  28
snd_intel8x0           22814  2
i2c_nforce2             4898  0
snd_ac97_codec         89633  1 snd_intel8x0
sr_mod                 11608  0
cdrom                  28817  1 sr_mod
sg                     21318  0
forcedeth              42237  0
pcspkr                  1382  0
ac97_bus                 946  1 snd_ac97_codec
saa7134_alsa            8425  1
snd_hda_intel          18055  0
snd_hda_codec          62514  1 snd_hda_intel
snd_hwdep               4798  1 snd_hda_codec
snd_seq_dummy           1266  0
cpufreq_ondemand        7001  0
cpufreq_conservative     4938  0
snd_seq_oss            22632  0
cpufreq_powersave        698  0
snd_seq_midi_event      5421  1 snd_seq_oss
snd_seq                40566  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
powernow_k8            10188  0
snd_seq_device          5214  3 snd_seq_dummy,snd_seq_oss,snd_seq
freq_table              3091  2 cpufreq_ondemand,powernow_k8
snd_pcm_oss            29075  0
snd_pcm                58499  6 snd_intel8x0,snd_ac97_codec,saa7134_alsa,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer              15571  2 snd_seq,snd_pcm
snd_mixer_oss          11087  1 snd_pcm_oss
snd                    46023  19 snd_intel8x0,snd_ac97_codec,saa7134_alsa,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               5525  1 snd
snd_page_alloc          6494  3 snd_intel8x0,snd_hda_intel,snd_pcm
ir_kbd_i2c              4479  0
joydev                  7238  0
usbhid                 30231  0
wacom                  16370  0
hid                    55684  1 usbhid
binfmt_misc             5463  1
tda827x                 8380  1
usblp                   8657  0
tda8290                 8847  1
tuner                  15855  1
usb_storage            35786  0
saa7134               130152  1 saa7134_alsa
ir_common              37802  2 ir_kbd_i2c,saa7134
v4l2_common            13955  2 tuner,saa7134
videodev               29617  3 tuner,saa7134,v4l2_common
v4l1_compat            11233  1 videodev
videobuf_dma_sg         9132  2 saa7134_alsa,saa7134
videobuf_core          13854  2 saa7134,videobuf_dma_sg
tveeprom               10174  1 saa7134
i2c_core               18387  10 nvidia,i2c_nforce2,ir_kbd_i2c,tda827x,tda8290,tuner,saa7134,v4l2_common,videodev,tveeprom
fuse                   49070  0
dm_mod                 53807  0
ohci_hcd               17412  0
ehci_hcd               27365  0
usbcore               121246  7 usbhid,wacom,usblp,usb_storage,ohci_hcd,ehci_hcd
ppdev                   4427  0
parport_pc             26677  1
k8temp                  2799  0
parport                29235  3 lp,ppdev,parport_pc
rtc_cmos                6829  0
fan                     2963  0
evdev                   6325  13
floppy                 44787  0
thermal                10712  0
processor              30110  1 powernow_k8
button                  4713  0
ide_generic             1035  0 [permanent]
pata_amd                7613  1
ata_generic             2399  0
ide_pci_generic         2278  0
ide_gd_mod             19219  0
ide_core               85164  3 ide_generic,ide_pci_generic,ide_gd_mod
pata_acpi               2303  0
sata_nv                16504  2
libata                143929  4 pata_amd,ata_generic,pata_acpi,sata_nv
sd_mod                 26807  5
scsi_mod              130669  5 sr_mod,sg,usb_storage,libata,sd_mod
crc_t10dif              1195  1 sd_mod
ext4                  270354  1
jbd2                   67150  1 ext4
crc16                   1303  1 ext4
« Last Edit: March 22, 2010, 06:22:00 PM by ff103 »
If Firefighters died and went to hell, they would just put it out!

Offline russell.eberhardt

  • Sr. Member
  • ****
  • Posts: 408
Re: Firewire Problem
« Reply #1 on: March 22, 2010, 03:48:38 AM »
Open a root terminal, type modprobe raw1394
this installs the kernel module.
For some reason this only gives root access to the firewire so change the permissions of /dev/raw1394 to allow others to read and write.

Russell.
Desktop: Gigabyte GA-MA770T-UD3 motherboard, NVIDIA GeForce 8400GS, AMD Phenom II Quad Core Processor 3GHz, 4GB ram, 250GB + 500GB SATA HD,

Offline ff103

  • Hero Member
  • *****
  • Posts: 711
    • The City Of Paintsville, Ky.
Re: Firewire Problem
« Reply #2 on: March 22, 2010, 06:54:41 AM »
Thanks for the reply Russell: I have tried both of those a couple of times and the camera still doesn't show up in A/V devices under the IEEE 1394 tab in Kino. Here is the results of lsmod, and raw 1394 is there. And I did change the permissions of raw1394 in /dev . The error about those two things has gone from the IEEE tab in Kino, but still no camera. I should mention that this camera worked in 2009.2 fully updated. Thanks for any help.
[ray@localhost ~]$ lsmod
Module                  Size  Used by
raw1394                16891  0
ieee1394               69560  1 raw1394
lp                      6790  0
nfsd                  201133  11
lockd                  56030  1 nfsd
nfs_acl                 1977  1 nfsd
auth_rpcgss            29156  1 nfsd
sunrpc                168759  11 nfsd,lockd,nfs_acl,auth_rpcgss
exportfs                2953  1 nfsd
af_packet              13939  2
ipv6                  225109  24
snd_intel8x0           22814  2
snd_ac97_codec         89633  1 snd_intel8x0
sr_mod                 11608  0
pcspkr                  1382  0
cdrom                  28817  1 sr_mod
forcedeth              42237  0
ac97_bus                 946  1 snd_ac97_codec
i2c_nforce2             4898  0
nvidia               8866583  28
binfmt_misc             5463  1
sg                     21318  0
saa7134_alsa            8425  1
snd_hda_intel          18055  0
snd_hda_codec          62514  1 snd_hda_intel
snd_hwdep               4798  1 snd_hda_codec
snd_seq_dummy           1266  0
snd_seq_oss            22632  0
snd_seq_midi_event      5421  1 snd_seq_oss
snd_seq                40566  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          5214  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            29075  0
cpufreq_ondemand        7001  1
cpufreq_conservative     4938  0
cpufreq_powersave        698  0
snd_pcm                58499  6 snd_intel8x0,snd_ac97_codec,saa7134_alsa,snd_hda_intel,snd_hda_codec,snd_pcm_oss
powernow_k8            10188  0
snd_timer              15571  2 snd_seq,snd_pcm
freq_table              3091  2 cpufreq_ondemand,powernow_k8
snd_mixer_oss          11087  1 snd_pcm_oss
snd                    46023  19 snd_intel8x0,snd_ac97_codec,saa7134_alsa,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               5525  1 snd
snd_page_alloc          6494  3 snd_intel8x0,snd_hda_intel,snd_pcm
ir_kbd_i2c              4479  0
tda827x                 8380  1
tda8290                 8847  1
tuner                  15855  1
saa7134               130152  1 saa7134_alsa
ir_common              37802  2 ir_kbd_i2c,saa7134
v4l2_common            13955  2 tuner,saa7134
joydev                  7238  0
usbhid                 30231  0
wacom                  16370  0
hid                    55684  1 usbhid
videodev               29617  3 tuner,saa7134,v4l2_common
v4l1_compat            11233  1 videodev
videobuf_dma_sg         9132  2 saa7134_alsa,saa7134
videobuf_core          13854  2 saa7134,videobuf_dma_sg
tveeprom               10174  1 saa7134
i2c_core               18387  10 i2c_nforce2,nvidia,ir_kbd_i2c,tda827x,tda8290,tuner,saa7134,v4l2_common,videodev,tveeprom
usblp                   8657  0
fuse                   49070  0
dm_mod                 53807  0
usb_storage            35786  0
ohci_hcd               17412  0
ehci_hcd               27365  0
usbcore               121246  7 usbhid,wacom,usblp,usb_storage,ohci_hcd,ehci_hcd
ppdev                   4427  0
k8temp                  2799  0
parport_pc             26677  1
evdev                   6325  13
parport                29235  3 lp,ppdev,parport_pc
fan                     2963  0
rtc_cmos                6829  0
button                  4713  0
floppy                 44787  0
processor              30110  1 powernow_k8
thermal                10712  0
ide_generic             1035  0 [permanent]
pata_amd                7613  1
ata_generic             2399  0
ide_pci_generic         2278  0
ide_gd_mod             19219  0
ide_core               85164  3 ide_generic,ide_pci_generic,ide_gd_mod
pata_acpi               2303  0
sata_nv                16504  2
libata                143929  4 pata_amd,ata_generic,pata_acpi,sata_nv
sd_mod                 26807  5
scsi_mod              130669  5 sr_mod,sg,usb_storage,libata,sd_mod
crc_t10dif              1195  1 sd_mod
ext4                  270354  1
jbd2                   67150  1 ext4
crc16                   1303  1 ext4
If Firefighters died and went to hell, they would just put it out!

Offline russell.eberhardt

  • Sr. Member
  • ****
  • Posts: 408
Re: Firewire Problem
« Reply #3 on: March 22, 2010, 01:51:21 PM »
It worked for my Sony TRV255E camcorder but it the settings are not retained after reboot.

I've added raw1394 to the end of the modprobe.preload file but it is still necessary to change the permissions of the /dev/raw1394 file after each reboot.  I'm sure there must be a permanent fix but I can't find it.I've reported the problem in the Beta2 problems thread so hopefully someone more knowledgeable than myself will fix it.

Russell.
Desktop: Gigabyte GA-MA770T-UD3 motherboard, NVIDIA GeForce 8400GS, AMD Phenom II Quad Core Processor 3GHz, 4GB ram, 250GB + 500GB SATA HD,

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12532
Re: Firewire Problem
« Reply #4 on: March 22, 2010, 02:00:13 PM »
It worked for my Sony TRV255E camcorder but it the settings are not retained after reboot.

I've added raw1394 to the end of the modprobe.preload file but it is still necessary to change the permissions of the /dev/raw1394 file after each reboot.  I'm sure there must be a permanent fix but I can't find it.I've reported the problem in the Beta2 problems thread so hopefully someone more knowledgeable than myself will fix it.

Russell.

What permission did you give /dev/raw1394?


Thanks to everyone who donates. You keep the servers running.

Offline ff103

  • Hero Member
  • *****
  • Posts: 711
    • The City Of Paintsville, Ky.
Re: Firewire Problem
« Reply #5 on: March 22, 2010, 02:11:36 PM »
Hey Russell & Tex: I don't believe my firewire card that is installed is being recognized . I don't see it in hardware. is there some way that I can check it or maybe try to re-install it manually? I'm going to try to remove it from the slot and plug it back and see if that helps but kino kept saying that "raw1394" was not installed or "dev raw1394 had the wrong permissions. FYI Tex, I opened konqueror in super user mode, went to /dev and found raw1394 and gave everyone read/write permission. Also ran kino as root and got the same results, but I don't see any video device showing up in the IEEE tab of kino, which leads me to believe that it may not see the camera. Thanks for all the help, I really appreciate it.
If Firefighters died and went to hell, they would just put it out!

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12532
Re: Firewire Problem
« Reply #6 on: March 22, 2010, 02:14:27 PM »
Hey Russell & Tex: I don't believe my firewire card that is installed is being recognized . I don't see it in hardware. is there some way that I can check it or maybe try to re-install it manually? I'm going to try to remove it from the slot and plug it back and see if that helps but kino kept saying that "raw1394" was not installed or "dev raw1394 had the wrong permissions. FYI Tex, I opened konqueror in super user mode, went to /dev and found raw1394 and gave everyone read/write permission. Also ran kino as root and got the same results, but I don't see any video device showing up in the IEEE tab of kino, which leads me to believe that it may not see the camera. Thanks for all the help, I really appreciate it.

It there another application besides kino you could try?

Thanks to everyone who donates. You keep the servers running.

Offline ff103

  • Hero Member
  • *****
  • Posts: 711
    • The City Of Paintsville, Ky.
Re: Firewire Problem
« Reply #7 on: March 22, 2010, 03:36:23 PM »
Hey Tex: Thanks for looking at this, Yes I have tried "Coriander" from the repos and it gives pretty much the same errors , I just tried it and got "Could not get a handle on your IEEE Card"  " Please check that the card is present , the IEEE modules are installed, and that you have read/write permission to /dev/raw1394 and /dev/video1394 devices.  Maybe my firewire card has quit. I guess I could pick up another one to try, but I'm about to get LinPC to build me a new box and maybe I'll get new firewire hardware included. Thanks for your help.
If Firefighters died and went to hell, they would just put it out!

Offline ff103

  • Hero Member
  • *****
  • Posts: 711
    • The City Of Paintsville, Ky.
Re: Firewire Problem (SOLVED)
« Reply #8 on: March 22, 2010, 06:19:51 PM »
Well, wonder of all wonders, my firewire and Kino are once again pals. Turns out that one of my hunches was right. I finally decided to check the pci firewire card and I removed it from the slot and plugged it back in again and now it works. I still am not able to get Coriander to work, but that's a project for another day. NOW, can someone tell me what to add to modprobe.conf to make the raw1394 module start at boot? and how do I chmod Kino to give it user permission? Thanks for everyone's help, and remember kids, check for a loose slot first. I will mark this solved and wait for some help on the modprobe and permission things.
If Firefighters died and went to hell, they would just put it out!

Offline smileeb

  • Hero Member
  • *****
  • Posts: 2236
    • smileesplace
Re: Firewire Problem (SOLVED)
« Reply #9 on: March 22, 2010, 09:48:50 PM »
ff103, OP will correct me or one of the other greats will if I'm wrong.

Using Startmenu -> Applications -> File Tools -> File Manager Super User Mode,
open the /etc/modprobe.preload file in kwrite and add these two lines to it :

sbp2
ohci1394

Save the file and then open the /etc/modprobe.conf file and add this line to it,

alias eth1394 off

Save the file and close it. then reboot with your drive attached. The firewire drive should now mount during bootup
and show an icon on your desktop.

You do not have to edit anything in the fstab file.


Offline russell.eberhardt

  • Sr. Member
  • ****
  • Posts: 408
Re: Firewire Problem
« Reply #10 on: March 23, 2010, 03:23:54 AM »

What permission did you give /dev/raw1394?


I gave "others" read and write permission.  It works but only until reboot.  I will try smileen's suggestion and report back.

Russell.
Desktop: Gigabyte GA-MA770T-UD3 motherboard, NVIDIA GeForce 8400GS, AMD Phenom II Quad Core Processor 3GHz, 4GB ram, 250GB + 500GB SATA HD,

Offline russell.eberhardt

  • Sr. Member
  • ****
  • Posts: 408
Re: Firewire Problem (SOLVED)
« Reply #11 on: March 23, 2010, 04:04:09 AM »
No, smileeb's suggestion doesn't work:
When the camcorder is connected the file /dev/raw1394 is generated like this:

[russell@localhost ~]$ ll /dev/raw1394
crw-rw---- 1 root root 171, 0 2010-03-23 10:39 /dev/raw1394

Kino cannot access it and fails with the error, "WARNING: raw1394 kernel module not loaded or failure to read/write /dev/raw1394!"

Changing the permissions to give:
crw-rw-rw- 1 root root 171, 0 2010-03-23 10:39 /dev/raw1394
enables Kino to connect to the camcorder.

I'm note that in 2009.2 the raw1394 file only has root permissions but it is marked in Konquerer as shared.  Any idea why that doesn't happen now?

Russell.


Desktop: Gigabyte GA-MA770T-UD3 motherboard, NVIDIA GeForce 8400GS, AMD Phenom II Quad Core Processor 3GHz, 4GB ram, 250GB + 500GB SATA HD,

Offline ff103

  • Hero Member
  • *****
  • Posts: 711
    • The City Of Paintsville, Ky.
Re: Firewire Problem (SOLVED)
« Reply #12 on: March 23, 2010, 07:34:40 AM »
I don't Smileeb's action will work since we are not trying to mount a firewire drive. we are only wanting to start a module on boot so we don't have to modprobe it every time we want to use the video camera with kino. I would think adding "raw1394" and/or "video1394" to modprobe.conf or modprobe.preload would be closer to working, but as stated, I will wait for one of the gurus to tell me for sure. Thanks.
If Firefighters died and went to hell, they would just put it out!

Offline russell.eberhardt

  • Sr. Member
  • ****
  • Posts: 408
Re: Firewire Problem (SOLVED)
« Reply #13 on: March 23, 2010, 11:41:06 AM »
OK, I think I've fixed it:

Make smileeb's modifications to modprobe.preload and modprobe.conf

Then:
Default permissions are set by files in /etc/security/console.perms.d/

My 2009 installation had three files there but this directory is empty with 2010beta2.  I copied the files 50-default.perms and 50-mandriva.perms from my 2009 installation and added the following to the end of 50-default.perms:
<ieee1394>=/dev/raw1394
<console> 0660 <ieee1394>   0660 root.video
This enables r/w access to an ordinary user.
There is a slight security issue as the user has root access through the firewire connection.  However I don't think it is a problem for the home user.

Russell.
« Last Edit: March 23, 2010, 11:45:58 AM by russell.eberhardt »
Desktop: Gigabyte GA-MA770T-UD3 motherboard, NVIDIA GeForce 8400GS, AMD Phenom II Quad Core Processor 3GHz, 4GB ram, 250GB + 500GB SATA HD,

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8590
  • Aurum nostrum non est aurum vulgi.
Re: Firewire Problem (SOLVED)
« Reply #14 on: February 26, 2011, 12:33:28 AM »
Hi guys,

I am having problems with the digital camcorder transferring clips to my laptop so I can edit it with Kino. The post is at http://www.pclinuxos.com/forum/index.php/topic,87635.0.html.

I've read this thread thoroughly and thought that this would perhaps solve my problems.

I have already added smileeb's suggestion as suggested by Russell.

I have a couple of things. First, I checked the /dev folder and did not find /dev/raw1394 among the list. I assumed it was a file and thought I could just # cp /dev/rawctl /dev/raw1394 and obviously gave me cp: cannot open `/dev/rawctl' for reading: No such device or address.

The other is:
Then:
Default permissions are set by files in /etc/security/console.perms.d/

My 2009 installation had three files there but this directory is empty with 2010beta2.  I copied the files 50-default.perms and 50-mandriva.perms from my 2009 installation and added the following to the end of 50-default.perms:
<ieee1394>=/dev/raw1394
<console> 0660 <ieee1394>   0660 root.video


I do not have the files where I can add the r/w access to a user. Would it be possible for you to send me the file? I would greatly appreciate it.

Thank you in advance for your help.

Archie
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42