soundmodem / "SIOCSIFFLAGS no such device"
RémiChateauneu <[email protected]>
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 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/ttyS0uart 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 io0x200irq 7 dma 1 serio0x3f8
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]>
RémiChateauneu <[email protected]>
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/ttyS0uart none port 0 irq 0Looks good. Only 'uart none' is needed btw.
Quoted 2 lines
To find the irq and dma parameters of the sound card :
modprobe -c | grep irqDidn'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 io0x200irq 7 dma 1 serio0x3f8Two 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 -
0x200vs0x220. Could be your
problem.
Mistyping, sorry. Thaks for the info.
Quoted 5 lines
Quoted 3 lines
And the final :
ifconfig sm0 hw ax25 X1ABC upShould 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
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]>
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
I'll do that and will tell you. Thanks !!
Serial Port ;-(
In reply to Hamish MoffattDear 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/
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.6For the setup, I first do a 'rmmod' of all modules related to the sound
card.
Then setserial/dev/ttyS0uart none port 0 irq 0To find the irq and dma parameters of the sound card :
modprobe -c | grep irqThen:
modprobe hdlcdrv
insmod soundmodem mode="sbc:afsk1200" iobase=0x220 irq=7 dma=1
sethdlc -p -i sm0 mode sbc:afsk1200 io0x200irq 7 dma 1 serio0x3f8And the final :
ifconfig sm0 hw ax25 X1ABC upAnd 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/
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