[PC-BSD] Native Instruments DJ Audio 2 - Ext USB Sound Card

Stuff that plugs in via USB, FireWire, eSATA, PS/2, etc.

[PC-BSD] Native Instruments DJ Audio 2 - Ext USB Sound Card

Postby MisterDX » 09 May 2012, 19:03

Hi all


Little intro...


For my laptop, which is mainly used for multimedia purposes (stream from NAS) I have been experimenting with various Linux OS distros and decided to try PC-BSD 9 isotope now. It may not be the best choice however my reasoning is because of my interest for FreeBSD as an OS since I'm running FreeBSD for my main server and FreeNAS for storage which I am satisfied with and using it more overall will increase my knowledge/skills about it and that motivates my choice.

The problem
I use a specific external USB card that is connected to my A/V receiver to maximize the sound quality (internal sound card won't do). Linux distros like Fedora, Mint, Ubuntu recognize it without any interaction.

What I have done
  • Search the web and forums to find a similar thread
  • Read the supported hardware list and check the manufacturer website for chipset info. Model: Native Instruments Audio 2
  • [FILE]dmesg | grep usb[/FILE] got me to display what seems to be my sound card:
    Code: Select all
    ugen1.2: <Native Instruments> at usbus1
  • Tried OSSInfo
  • Found out that Linux drivers can possibly be used in FreeBSD?
Question

At the moment, I don't have access to a physical Linux machine however, if Linux drivers can be used in PC-BSD would it be beneficial to get access to one in order to obtain the module used?

Since this is a specific problem I don't expect anyone to lay out the solution for me. Instead, all I am asking for is some guidance in the right direction so I can utilize my time efficiently. I don't mind reading documentation and man pages.

Thank you
DX
MisterDX
Junior Member
 
Posts: 7
Joined: 23 Dec 2011, 12:53

Postby SirDice » 10 May 2012, 06:05

[thread=7290]Topics about PC-BSD | FreeNAS | DesktopBSD | m0N0WALL | pfSense | Debian GNU/kFreeBSD[/thread]

You can't use Linux drivers. You can try [port]audio/oss[/port] but I doubt it'll work.
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16185
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby t1066 » 10 May 2012, 09:22

What does

[CMD="$"]cat /dev/sndstat[/CMD]

show?
t1066
Member
 
Posts: 154
Joined: 07 Jun 2010, 16:49

Postby MisterDX » 13 May 2012, 21:57

Code: Select all
[misterdx@pcbsd-2802] /# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <HDA ATI R6xx HDMI PCM #0 HDMI> (play)
pcm1: <HDA Realtek ALC269 PCM #0 Analog> (play/rec) default
[misterdx@pcbsd-2802] /#
MisterDX
Junior Member
 
Posts: 7
Joined: 23 Dec 2011, 12:53

Postby t1066 » 13 May 2012, 23:51

First run

[CMD="#"]kldload uaudio[/CMD]

Then plug your usb audio device in. If your device is recognized, then something like

Code: Select all
Mar  1 11:00:19 aaa kernel: ugen0.6: <C-Media INC.> at usbus0
Mar  1 11:00:19 aaa kernel: uaudio0: <C-Media INC. USB Sound Device, class 0/0, rev 1.10/0.10, addr 6> on usbus0
Mar  1 11:00:19 aaa kernel: uaudio0: Play: 48000 Hz, 2 ch, 16-bit S-LE PCM format.
Mar  1 11:00:19 aaa kernel: uaudio0: No recording.
Mar  1 11:00:19 aaa kernel: uaudio0: No midi sequencer.
Mar  1 11:00:19 aaa kernel: pcm0: <USB audio> on uaudio0


will appear in [FILE]/var/log/message[/FILE]. If this works, you may need to run

[CMD="#"]sysctl hw.snd.default_unit=2[/CMD]

to use your USB audio device.
t1066
Member
 
Posts: 154
Joined: 07 Jun 2010, 16:49

Postby MisterDX » 26 May 2012, 19:50

What I see in [FILE]/var/log/messages[/FILE] is the following:

Code: Select all
May 26 21:45:17 pcbsd-2802 kernel: ugen1.2: <Native Instruments> at usbus1 (disconnected)
May 26 21:46:02 pcbsd-2802 kernel: ugen1.2: <Native Instruments> at usbus1
May 26 21:46:06 pcbsd-2802 root: Unknown USB device: vendor 0x17cc product 0x041d bus uhub1

and [CMD=" "]sysctl hw.snd.default_unit=2[/CMD] gives me back 'invalid argument'.
MisterDX
Junior Member
 
Posts: 7
Joined: 23 Dec 2011, 12:53


Return to Peripheral Hardware

Who is online

Users browsing this forum: No registered users and 0 guests