Skip to contentSkip to conversation

soundmodem / "SIOCSIFFLAGS no such device"

DISCUSSION RémiChateauneu <[email protected]> 5 participants 8 messages Feb 19, 2003 – Feb 23, 2003

lore
Share & tools
lore

RémiChateauneu <[email protected]>

#0 lore raw

Hi All !

My config is :
Linux Mandrake 8.2
Soundcard VIA FM801
RPM ax25-tools 0.0.8 and ax25-apps.0.0.6

For the setup, I first do a 'rmmod' of all modules related to the sound card.
Then setserial /dev/ttyS0 uart none port 0 irq 0

To find the irq and dma parameters of the sound card :
modprobe -c | grep irq

Then:
modprobe hdlcdrv
insmod soundmodem mode="sbc:afsk1200" iobase=0x220 irq=7 dma=1 sethdlc -p -i sm0 mode sbc:afsk1200 io 0x200 irq 7 dma 1 serio 0x3f8

And the final :
ifconfig sm0 hw ax25 X1ABC up

And it tells me :
"SIOCSIFFLAGS: No such device"

Any idea will be extremely cheerfully welcomed !

#1 lore raw
Quoted 3 lines · On Wed, Feb 19, 2003 at 09:29:42AM +0100, [email protected]…

For the setup, I first do a 'rmmod' of all modules related to the sound card.
Then setserial /dev/ttyS0 uart none port 0 irq 0

Looks good. Only 'uart none' is needed btw.

Quoted 2 lines

To find the irq and dma parameters of the sound card :
modprobe -c | grep irq

Didn't know that.

Quoted 3 lines

modprobe hdlcdrv
insmod soundmodem mode="sbc:afsk1200" iobase=0x220 irq=7 dma=1 sethdlc -p -i sm0 mode sbc:afsk1200 io 0x200 irq 7 dma 1 serio 0x3f8

Two things. Firstly no need to provide the same information twice (module parameters AND sethdlc); I just use sethdlc. Secondly the address you have to sethdlc is different - 0x200 vs 0x220. Could be your problem.

Quoted 2 lines

And the final :
ifconfig sm0 hw ax25 X1ABC up

Should also assign a dummy IP address.

Quoted 2 lines

And it tells me :
"SIOCSIFFLAGS: No such device"

Is your sound card SB-compatible?

You could also try the user-space (non kernel) soundmodem driver. It uses your existing sound card drivers although not all cards are supported.

Hamish

Signature · 1 line
Hamish Moffatt VK3SB <[email protected]> <[email protected]>
#2 lore raw

Hamish Moffatt <[email protected]> a écrit dans le message :
[email protected]...

Quoted 1 line
Quoted 1 line

For the setup, I first do a 'rmmod' of all modules related to the sound

card.

Quoted 8 lines
Quoted 1 line

Then setserial /dev/ttyS0 uart none port 0 irq 0

Looks good. Only 'uart none' is needed btw.

Quoted 2 lines

To find the irq and dma parameters of the sound card :
modprobe -c | grep irq

Didn't know that.

I did not know any other way that this one I found on the web. What else could I do ?
Maybe these values are bad ?

Quoted 7 lines
Quoted 3 lines

modprobe hdlcdrv
insmod soundmodem mode="sbc:afsk1200" iobase=0x220 irq=7 dma=1 sethdlc -p -i sm0 mode sbc:afsk1200 io 0x200 irq 7 dma 1 serio 0x3f8

Two things. Firstly no need to provide the same information twice (module parameters AND sethdlc); I just use sethdlc. Secondly the address you have to sethdlc is different - 0x200 vs 0x220. Could be your

problem.
Mistyping, sorry. Thaks for the info.

Quoted 5 lines
Quoted 3 lines

And the final :
ifconfig sm0 hw ax25 X1ABC up

Should also assign a dummy IP address.

So, I typed :
ifconfig sm0 hw ax25 X870 192.3.1.2
===>>> SIOCSIFFLAGS: No such device

Quoted 1 line

Is your sound card SB-compatible?

How can I know that, please ?

Maybe I rmmod'ed too many modules ?

Another problem. If I type
rmmod soundmodem

I get the error :
'segmentation fault'

Quoted 2 lines

You could also try the user-space (non kernel) soundmodem driver. It uses your existing sound card drivers although not all cards are

supported.
Great ! Where is it ? What is its name ?

Thanks a lot !!

-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 6 lines · On Thu, Feb 20, 2003 at 10:41:11PM +0100, [email protected]…
Quoted 3 lines
Quoted 1 line

ifconfig sm0 hw ax25 X1ABC up

Should also assign a dummy IP address.

So, I typed :
ifconfig sm0 hw ax25 X870 192.3.1.2
===>>> SIOCSIFFLAGS: No such device

Check the messages from the kernel with 'dmesg'. It may give you some extra information - is it the sound card it can't find or is it the serial port etc.

Quoted 2 lines
Quoted 1 line

Is your sound card SB-compatible?

How can I know that, please ?

Google?

Quoted 1 line

Maybe I rmmod'ed too many modules ?

Unlikely.

Quoted 4 lines
Quoted 2 lines

You could also try the user-space (non kernel) soundmodem driver. It uses your existing sound card drivers although not all cards are

supported.
Great ! Where is it ? What is its name ?

http://www.baycom.org/~tom/ham/soundmodem/

73
Hamish

Signature · 1 line
Hamish Moffatt VK3SB <[email protected]> <[email protected]>
#4 lore raw

Hi Hamish, and thanks for your help,

Quoted 1 line
Quoted 1 line
Quoted 1 line

Is your sound card SB-compatible?

Thanks google, it is !
http://www.fortemedia.com/products/fm801.htm
"compatible with Microsoft Windows, Microsoft DirectX and thousands of DOS games and is WHQL certified. Legacy Audio supports AdLib Music Synthesizer, Sound Blaster Pro, MPU401 UART mode and Joystick function in order to provide the highest hardware compatibility for numerous PC games on real DOS environment. "

Quoted 2 lines
Quoted 1 line
Quoted 1 line

You could also try the user-space (non kernel) soundmodem driver. It

http://www.baycom.org/~tom/ham/soundmodem/

I'll do that and will tell you. Thanks !!

#5 lore raw

Serial Port ;-(

In reply to Hamish Moffatt

Dear Folks,

I have still problem to get the serial port 1 active in my machine "one" (RH 7.1; Kernel 2.4.19; PCI Sound Card; ax25 stuff; soundmodem-0.7). In idle condition the voltage between pin 5 and 7 is -10.77 V, and in ping condition is -10.79 V. The voltage different is only 20 mV, I think it is not enough to trigger the ptt circuit, isn't it.
[my1com]# ifconfig
..
sm0 Link encap: AMPR AX.25 HWaddr MY1COM inet addr:
44.128.1.5 Bcast: 44.128.1.255 Mask: 255.255.255.0

But in my other machine "three" (MiniLinux 2.2.15 pre10; ISA Sound Blaster) the serial port condition is totally different. In idle condition the voltage between pin 5 and 7 is -11.55 V and in ping condition is +11.42 V. With this the ptt circuit works fine :-) [my3com]# ifconfig
..
sm0 Link encap: AMPR AX.25 HWaddr MY3COM inet addr:
44.128.1.12 Bcast: 44.128.1.255 Mask: 255.255.255.0

How can I activate the serial port 1 in machine "one"?

Thanks for any help.
Vivi

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

#6 lore raw
In reply to RémiChateauneu <[email protected]>

Remi:

I think you have to install the sound blaster
module first, then uninstall, and then all the soundmodem stuff, it is for init the sound card...

- ari

--- "Ré[email protected],

Quoted 35 lines · [email protected]. wrote:

Hi All !

My config is :
Linux Mandrake 8.2
Soundcard VIA FM801
RPM ax25-tools 0.0.8 and ax25-apps.0.0.6

For the setup, I first do a 'rmmod' of all modules related to the sound
card.
Then setserial /dev/ttyS0 uart none port 0 irq 0

To find the irq and dma parameters of the sound card :
modprobe -c | grep irq

Then:
modprobe hdlcdrv
insmod soundmodem mode="sbc:afsk1200" iobase=0x220 irq=7 dma=1
sethdlc -p -i sm0 mode sbc:afsk1200 io 0x200 irq 7 dma 1 serio 0x3f8

And the final :
ifconfig sm0 hw ax25 X1ABC up

And it tells me :
"SIOCSIFFLAGS: No such device"

Any idea will be extremely cheerfully welcomed !

Quoted 5 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to [email protected] More majordomo info at

http://vger.kernel.org/majordomo-info.html

=====
[email protected]
[email protected]
[email protected]

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

#7 lore raw

ariel mastracchio <[email protected]> a écrit dans le message :
[email protected]...

Hi Ariel,

Quoted 3 lines

I think you have to install the sound blaster
module first, then uninstall, and then all the soundmodem stuff, it is for init the sound card...

Do you mean :
rmmod sb

But I do not have the 'sb' module, but rather sound-card-fm801

Thanks anyway !

RC

-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html