Building own kernel: oss emulation

Building own kernel: oss emulation

Timo Steuerwald
Karma: 18
2006-02-23 14:36 UTC
Hi all,


I activated oss emulation in my own kernel [1] and now try to use oss
emulation about my usb headset [2], but the command prompt will
immediately return if I give in cat > /dev/dsp1 < /dev/dsp1 and press
return. As I have taken a look on the devices I wonder because they are
not character based as ls said:

> Nokia770-45:/sbin# ll /dev/dsp1
> -rw-r--r-- 1 root root 0 Feb 22 22:43 /dev/dsp1

I also tried cat /proc/devices, but the result doesn't contain /dev/dsp1

> Nokia770-45:/sbin# cat /proc/devices
> Character devices:
> 1 mem
> 4 /dev/vc/0
> 4 tty
> 4 ttyS
> 5 /dev/tty
> 5 /dev/console
> 5 /dev/ptmx
> 7 vcs
> 10 misc
> 13 input
> 14 sound
> 29 fb
> 90 mtd
> 96 dspctl
> 97 dsptask
> 108 ppp
> 116 alsa
> 128 ptm
> 136 pts
> 180 usb
> 188 ttyUSB
> 216 rfcomm
> 254 sticon

Anyone already tried that or any further clues?

Cheers,

Timo

[1] http://maemo.org/maemowiki/HowTo_KernelCompilation
[2] http://maemo.org/maemowiki/EnablingGstreamerSupport
  •  Reply

Re: [maemo-developers] Building own kernel: oss emulation

Timo Steuerwald
Karma: 18
2006-02-23 16:30 UTC
Ok, my fault (:-)

Cheers,

Timo
  •  Reply

Re: [maemo-developers] Building own kernel: oss emulation

Jonathan Matthews-Levine

2006-02-23 16:54 UTC
On 2/23/06, Timo Steuerwald <timo.steuerwald@gmx.de> wrote:
> Ok, my fault (:-)

Do explain, for the list archives ... :-)

Jonathan

--
Don't anthropomorphize computers. They don't like it.
  •  Reply

Re: [maemo-developers] Building own kernel: oss emulation

Timo Steuerwald
Karma: 18
2006-02-23 17:02 UTC
Jonathan Matthews-Levine wrote:

>Do explain, for the list archives ... :-)
>
>
>
That's absolutely typical for me: I haven't read the whole
documentation. I have forgotten to edit the debian/rules file as
described in the wiki. So during dpkg-buildpackage the changed config
will be deleted and and after this replaced with the default from the
tar.gz archive. :-(

Cheers,

Timo
  •  Reply