[LAU] howto get pcmcia firewire card working

Atte atte at youmail.dk
Wed Jul 2 12:51:23 UTC 2014


On 06/25/2014 02:09 PM, Atte wrote:
> On 06/24/2014 02:16 PM, Clemens Ladisch wrote:
> 
>> You need a different card.

Ok, now I'm back with a different card (expresscard).

<card unplugged>
atte at vestbjerg:~$ lspci > without
<plugging card in>
atte at vestbjerg:~$ lspci > with
atte at vestbjerg:~$ diff with*
18d17
< 05:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6315 Series
Firewire Controller (rev 01)

dmesg gives this when pluggin in
[  696.616000] pci 0000:05:00.0: [1106:3403] type 0 class 0x000c00
[  696.616054] pci 0000:05:00.0: reg 10: [mem 0x00000000-0x000007ff 64bit]
[  696.616080] pci 0000:05:00.0: reg 18: [io  0x0000-0x00ff]
[  696.616266] pci 0000:05:00.0: supports D2
[  696.616271] pci 0000:05:00.0: PME# supported from D2 D3hot D3cold
[  696.624044] pci 0000:05:00.0: BAR 0: assigned [mem
0xf1c00000-0xf1c007ff 64bit]
[  696.624082] pci 0000:05:00.0: BAR 2: assigned [io  0x4000-0x40ff]
[  696.624136] pci 0000:05:00.0: no hotplug settings from platform
[  696.624429] firewire_ohci 0000:05:00.0: enabling device (0000 -> 0003)
[  696.624461] firewire_ohci 0000:05:00.0: setting latency timer to 64
[  696.687814] firewire_ohci: Added fw-ohci device 0000:05:00.0, OHCI
v1.10, 4 IR + 8 IT contexts, quirks 0x11
[  697.186506] firewire_core: created device fw0: GUID 0011066600000001,
S400
[  697.186515] firewire_core: phy config: card 5, new root=ffc1, gap_count=5

So some devices get's created:
atte at vestbjerg:~$ ls -alh /dev/fw*
crw-------  1 root root  252, 0 Jul  2 14:44 /dev/fw0
crw-rw---T+ 1 root video 252, 1 Jul  2 14:44 /dev/fw1

And I'm in the video group
atte at vestbjerg:~$ groups
atte cdrom floppy sudo audio dip video plugdev fuse scanner bluetooth
netdev cbnetwork

I tried starting jack with all the listed devices + the wildshots "fw:0"
and "fw:1", no matter what I get this:

jackdmp 1.9.9
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2012 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 88
firewire MSG: Starting FFADO backend (libffado 2.999.0-)
libffado 2.999.0- built Jun 28 2012 15:59:48
00867212258: Error (ieee1394service.cpp)[ 185] detectNbPorts: Could
not get libraw1394 handle.
This usually means:
 a) The device-node /dev/raw1394 doesn't exists because you don't have a
    (recognized) firewire controller.
  b) The modules needed aren't loaded. This is not in the scope of ffado
but of
    your distribution, so if you have a firewire controller that should be
    supported and the modules aren't loaded, file a bug with your
distributions
    bug tracker.
  c) You don't have permissions to access /dev/raw1394. 'ls -l /dev/raw1394'
    shows the device-node with its permissions, make sure you belong to the
    right group and the group is allowed to access the device.
firewire ERR: FFADO: Error creating virtual device
Cannot attach audio driver

And it surely seems the /dev/raw1394 is not created:
atte at vestbjerg:~$ ll /dev/ra*
crw-rw-rw- 1 root root 1, 8 Jul  2 14:32 /dev/random

Here's the long outout of lsmod:

atte at vestbjerg:~$ lsmod
Module                  Size  Used by
snd_seq_dummy          12455  0
fuse                   56269  3
parport_pc             22036  0
ppdev                  12651  0
lp                     12797  0
parport                31258  3 lp,ppdev,parport_pc
rfcomm                 32730  10
bnep                   17288  2
cpufreq_stats          12762  0
cpufreq_powersave      12422  0
cpufreq_userspace      12520  0
cpufreq_conservative    12987  0
nfsd                  173890  2
nfs                   270333  1
nfs_acl                12463  2 nfs,nfsd
auth_rpcgss            32227  2 nfs,nfsd
fscache                31978  1 nfs
lockd                  61373  2 nfs,nfsd
sunrpc                152102  12 lockd,auth_rpcgss,nfs_acl,nfs,nfsd
loop                   21911  0
snd_hda_codec_hdmi     26352  1
snd_hda_codec_conexant    40451  1
joydev                 16950  0
uvcvideo               56896  0
videodev               61658  1 uvcvideo
media                  13692  2 videodev,uvcvideo
arc4                   12418  2
cdc_ncm                16977  0
usbnet                 17703  1 cdc_ncm
mii                    12595  1 usbnet
cdc_acm                17564  0
cdc_wdm                17005  0
btusb                  17246  2
bluetooth             107882  23 btusb,bnep,rfcomm
evdev                  17165  9
battery                12986  0
thinkpad_acpi          47494  0
ac                     12552  0
nvram                  12887  1 thinkpad_acpi
power_supply           13283  2 ac,battery
tpm_tis                13150  0
tpm                    17566  1 tpm_tis
tpm_bios               12836  1 tpm
psmouse                59575  0
serio_raw              12769  0
snd_hda_intel          21754  2
snd_hda_codec          63602  3
snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec_hdmi
snd_hwdep              12979  1 snd_hda_codec
iwlwifi               146808  0
snd_pcm                53415  3
snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi
snd_page_alloc         12867  2 snd_pcm,snd_hda_intel
mac80211              175536  1 iwlwifi
snd_seq                39514  1 snd_seq_dummy
i915                  325680  3
coretemp               12770  0
snd_seq_device         13016  2 snd_seq,snd_seq_dummy
cfg80211              117541  2 mac80211,iwlwifi
crc32c_intel           12659  0
video                  17459  1 i915
snd_timer              22359  2 snd_seq,snd_pcm
rfkill                 18484  5 cfg80211,thinkpad_acpi,bluetooth
drm_kms_helper         22738  1 i915
aesni_intel            17913  1
drm                   150561  4 drm_kms_helper,i915
aes_i586               16647  1 aesni_intel
snd                    42726  14
snd_timer,snd_seq_device,snd_seq,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,thinkpad_acpi,snd_hda_codec_conexant,snd_hda_codec_hdmi
wmi                    13051  0
aes_generic            32970  2 aes_i586,aesni_intel
i2c_i801               12670  0
cryptd                 14125  1 aesni_intel
i2c_algo_bit           12713  1 i915
acpi_cpufreq           12807  1
iTCO_wdt               16917  0
pcspkr                 12515  0
mperf                  12421  1 acpi_cpufreq
i2c_core               19116  6
i2c_algo_bit,i2c_i801,drm,drm_kms_helper,i915,videodev
soundcore              12921  1 snd
iTCO_vendor_support    12632  1 iTCO_wdt
processor              27565  1 acpi_cpufreq
button                 12817  1 i915
ext4                  311684  3
crc16                  12327  2 ext4,bluetooth
jbd2                   56344  1 ext4
mbcache                12938  1 ext4
microcode              13265  0
sg                     21445  0
sd_mod                 35425  5
crc_t10dif             12332  1 sd_mod
ata_generic            12439  0
firewire_ohci          30847  0
firewire_core          38725  1 firewire_ohci
crc_itu_t              12331  1 firewire_core
ata_piix               25271  4
thermal                13103  0
ehci_hcd               39599  0
sdhci_pci              13576  0
thermal_sys            17752  3 thermal,processor,video
libata                125019  2 ata_piix,ata_generic
sdhci                  22377  1 sdhci_pci
usbcore               108505  8
ehci_hcd,btusb,cdc_wdm,cdc_acm,usbnet,cdc_ncm,uvcvideo
scsi_mod              135111  3 libata,sd_mod,sg
e1000e                122300  0
mmc_core               62021  2 sdhci,sdhci_pci
usb_common             12338  1 usbcore

Any ideas what do do next?

Thanks!
-- 
Atte

http://atte.dk   http://modlys.dk


More information about the Linux-audio-user mailing list