camrecorder DV and karmic

laurent.bellegarde laurent.bellegarde at
Mon Nov 9 23:19:58 GMT 2009

Eric Hedekar a écrit :
> On Mon, Nov 9, 2009 at 10:44 AM, laurent.bellegarde 
> <laurent.bellegarde at <mailto:laurent.bellegarde at>> wrote:
>     Hi all,
>     The <> team is now testing hardly Ubuntu
>     Studio Karmic before an
>     official presentation to the public, saturday, November 28 in
>     Paris (1h
>     face to public, TV cameras, radios), in the sciences's city.
>     The kernel RT and the music software are working fine, but we are
>     thinking there is a large trouble in UBS 9.10 with the DV
>     connection to
>     a camrecorder DV.
>     With severals camrecoders DV knowed to work in DV via a firewire card
>     integrated or another laptop with a firewire expresscard controller
>     under hardy UBS (production) and jaunty UBS for testing, we discover
>     that even after controls, editing system files, and groups/permissions
>     changes, it seems to be impossible to detect the camera. Dvgrab in
>     terminal still always says : no camera...
>     Is there a major bug in karmic ?
>     raw1394, ohci1394, ieee1394 have been probed and permissions
>     controlled,
>     even video1394, and dv1394 (old and deprecated). Audio, video and disk
>     group have been probed too. None are working.
>     Any "good "ideas" are welcomed !!!
>     Bye,
>     Laurent,
> <>
>     France
>     --
>     Ubuntu-Studio-users mailing list
>     Ubuntu-Studio-users at
>     <mailto:Ubuntu-Studio-users at>
>     Modify settings or unsubscribe at:
> Laurent
> What errors are you seeing?  In 
> /lib/udev/rules.d/50-udev-default.rules do you see a line that 
> contains "raw1394" ?
> - Eric Hedekar

Hi Eric,

no line about raw1394, here is the lines, 32bits install with karmic RT

laurent at laurent-karmic:~$ cat /lib/udev/rules.d/50-udev-default.rules
# do not edit this file, it will be overwritten on update

SUBSYSTEM=="block", SYMLINK{unique}+="block/%M:%m"
SUBSYSTEM!="block", SYMLINK{unique}+="char/%M:%m"

KERNEL=="pty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="0660"
KERNEL=="tty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="0660"
KERNEL=="ptmx",            GROUP="tty", MODE="0666"
KERNEL=="tty",            GROUP="tty", MODE="0666"
KERNEL=="tty[0-9]*",        GROUP="tty", MODE="0620"
KERNEL=="console",        MODE="0600"
KERNEL=="vcs|vcs[0-9]*|vcsa|vcsa[0-9]*", GROUP="tty"

# serial
KERNEL=="ppp",            MODE="0600"
KERNEL=="mwave",        GROUP="dialout"
KERNEL=="hvc*|hvsi*",        GROUP="dialout"

# mem
KERNEL=="null|zero|full|random|urandom", MODE="0666"
KERNEL=="mem|kmem|port|nvram",    GROUP="kmem", MODE="0640"

# input
KERNEL=="mouse*|mice|event*",    MODE="0640"
KERNEL=="ts[0-9]*|uinput",    MODE="0640"
KERNEL=="js[0-9]*",        MODE="0644"

# video4linux
SUBSYSTEM=="video4linux",    GROUP="video"
KERNEL=="vttuner*",        GROUP="video"
KERNEL=="vtx*|vbi*",        GROUP="video"
KERNEL=="winradio*",        GROUP="video"

# graphics
KERNEL=="agpgart",        MODE="0600", GROUP="video"
KERNEL=="pmu",            GROUP="video"
KERNEL=="nvidia*|nvidiactl*",    GROUP="video"
SUBSYSTEM=="graphics",        GROUP="video"
SUBSYSTEM=="drm",        GROUP="video"

# sound
SUBSYSTEM=="sound",        GROUP="audio"
KERNEL=="mixer0",        SYMLINK+="mixer"

# DVB (video)
SUBSYSTEM=="dvb", GROUP="video"

# FireWire (firewire-core driver: IIDC devices, AV/C devices)
SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x00010*", GROUP="video"
SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x010001*", GROUP="video"

# FireWire (deprecated dv1394 and video1394 drivers)
KERNEL=="dv1394-[0-9]*",    NAME="dv1394/%n", GROUP="video"
KERNEL=="video1394-[0-9]*",    NAME="video1394/%n", GROUP="video"

# libusb device nodes
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"

# printer
KERNEL=="parport[0-9]*",    GROUP="lp"
SUBSYSTEM=="printer",        KERNEL=="lp*", GROUP="lp"
SUBSYSTEM=="ppdev",        GROUP="lp"
SUBSYSTEM=="usb",        KERNEL=="lp*", SYMLINK+="usb%k", GROUP="lp"
KERNEL=="lp[0-9]*",        GROUP="lp"
KERNEL=="irlpt[0-9]*",        GROUP="lp"
# hplip and cups 1.4+ use raw USB devices, so permissions should be 
similar to
# the ones from the old usblp kernel module
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", 
ENV{ID_USB_INTERFACES}=="", IMPORT{program}="usb_id --export %p"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", 
ENV{ID_USB_INTERFACES}==":0701*:", GROUP="lp", MODE="660"

# block
SUBSYSTEM=="block", GROUP="disk"

# floppy
KERNEL=="fd[0-9]", GROUP="floppy"
KERNEL=="fd[0-9]", ACTION=="add", ATTRS{cmos}=="?*", 
RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 0640 -G floppy 
KERNEL=="hd*", SUBSYSTEMS=="ide", ATTRS{media}=="floppy", 

# cdrom
SUBSYSTEM=="block", KERNEL=="sr[0-9]*", SYMLINK+="scd%n", GROUP="cdrom"
SUBSYSTEM=="block", KERNEL=="hd*", SUBSYSTEMS=="ide", 
ATTRS{media}=="cdrom", GROUP="cdrom"
SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="4|5", 
KERNEL=="pktcdvd[0-9]*", GROUP="cdrom"
KERNEL=="pktcdvd", GROUP="cdrom"

# tape
KERNEL=="ht[0-9]*|nht[0-9]*", GROUP="tape"
KERNEL=="pt[0-9]*|npt[0-9]*|pht[0-9]*", GROUP="tape"
SUBSYSTEM=="scsi_generic|scsi_tape", SUBSYSTEMS=="scsi", 
ATTRS{type}=="1|8", GROUP="tape"

# block-related
KERNEL=="sch[0-9]*", GROUP="disk"
SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="0", 
KERNEL=="pg[0-9]*", GROUP="disk"
KERNEL=="rawctl", GROUP="disk"
SUBSYSTEM=="raw", KERNEL=="raw[0-9]*", GROUP="disk"
SUBSYSTEM=="aoe", GROUP="disk", MODE="0220"
SUBSYSTEM=="aoe", KERNEL=="err", MODE="0440"

# network
KERNEL=="tun",            MODE="0666"
KERNEL=="rfkill",        MODE="0644"

KERNEL=="cpu[0-9]*",        MODE="0444"

# miscellaneous
KERNEL=="fuse",            MODE="0666"
SUBSYSTEM=="rtc", DRIVERS=="rtc_cmos", SYMLINK+="rtc"
KERNEL=="mmtimer",        MODE="0644"
KERNEL=="rflash[0-9]*",        MODE="0400"
KERNEL=="rrom[0-9]*",        MODE="0400"

# do not delete static device nodes
ACTION=="remove", NAME=="", TEST=="/lib/udev/devices/%k", 
KERNEL=="raw1394",        GROUP="video"
ACTION=="remove", NAME=="?*", TEST=="/lib/udev/devices/$name", 

More information about the Ubuntu-Studio-users mailing list