Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
* soundmodem / "SIOCSIFFLAGS no such device"
@ 2003-02-19  8:29 
  2003-02-20 12:05 ` Hamish Moffatt
  2003-02-20 13:53 ` soundmodem / "SIOCSIFFLAGS no such device" ariel mastracchio
  0 siblings, 2 replies; 8+ messages in thread
From:  @ 2003-02-19  8:29 UTC (permalink / raw)
  To: linux-hams

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 !






^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: soundmodem / "SIOCSIFFLAGS no such device"
  2003-02-19  8:29 soundmodem / "SIOCSIFFLAGS no such device" 
@ 2003-02-20 12:05 ` Hamish Moffatt
  2003-02-20 21:41   ` 
  2003-02-23  2:23   ` Serial Port ;-( Vivi Kusumo
  2003-02-20 13:53 ` soundmodem / "SIOCSIFFLAGS no such device" ariel mastracchio
  1 sibling, 2 replies; 8+ messages in thread
From: Hamish Moffatt @ 2003-02-20 12:05 UTC (permalink / raw)
  To: linux-hams

On Wed, Feb 19, 2003 at 09:29:42AM +0100, linux-hams-owner@vger.kernel.org wrote:
> 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.

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

Didn't know that.

> 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.

> And the final :
> ifconfig sm0 hw ax25 X1ABC up

Should also assign a dummy IP address.

> 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
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: soundmodem / "SIOCSIFFLAGS no such device"
  2003-02-19  8:29 soundmodem / "SIOCSIFFLAGS no such device" 
  2003-02-20 12:05 ` Hamish Moffatt
@ 2003-02-20 13:53 ` ariel mastracchio
  2003-02-20 21:48   ` ravioli
  1 sibling, 1 reply; 8+ messages in thread
From: ariel mastracchio @ 2003-02-20 13:53 UTC (permalink / raw)
  To: linux-hams

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émi@yahoo.com,
UNEXPECTED_DATA_AFTER_ADDRESS@.SYNTAX-ERROR. 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 !
> 
> 
> 
> 
> 
> -
> To unsubscribe from this list: send the line
> "unsubscribe linux-hams" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at 
http://vger.kernel.org/majordomo-info.html


=====
amastr@mail.palermo.edu.ar
lu9aum@amsat.org
lu9aum@lu9aum.ampr.org

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: soundmodem / "SIOCSIFFLAGS no such device"
  2003-02-20 12:05 ` Hamish Moffatt
@ 2003-02-20 21:41   ` 
  2003-02-20 21:50     ` Hamish Moffatt
  2003-02-23  2:23   ` Serial Port ;-( Vivi Kusumo
  1 sibling, 1 reply; 8+ messages in thread
From:  @ 2003-02-20 21:41 UTC (permalink / raw)
  To: linux-hams



Hamish Moffatt <hamish@cloud.net.au> a écrit dans le message :
20030220120526.GA28160@silly.cloud.net.au...
> > 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.
>
> > 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 ?

> > 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.

>
> > 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

> 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'

> 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: soundmodem / "SIOCSIFFLAGS no such device"
  2003-02-20 13:53 ` soundmodem / "SIOCSIFFLAGS no such device" ariel mastracchio
@ 2003-02-20 21:48   ` ravioli
  0 siblings, 0 replies; 8+ messages in thread
From: ravioli @ 2003-02-20 21:48 UTC (permalink / raw)
  To: linux-hams


ariel mastracchio <ari197516@yahoo.com> a écrit dans le message :
20030220135358.58791.qmail@web9602.mail.yahoo.com...

Hi Ariel,

>    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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: soundmodem / "SIOCSIFFLAGS no such device"
  2003-02-20 21:41   ` 
@ 2003-02-20 21:50     ` Hamish Moffatt
  2003-02-22 18:42       ` ravioli
  0 siblings, 1 reply; 8+ messages in thread
From: Hamish Moffatt @ 2003-02-20 21:50 UTC (permalink / raw)
  To: linux-hams

On Thu, Feb 20, 2003 at 10:41:11PM +0100, linux-hams-owner@vger.kernel.org wrote:
> > > 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.

> > Is your sound card SB-compatible?
> How can I know that, please ?

Google?

> Maybe I rmmod'ed too many modules ?

Unlikely.

> > 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
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: soundmodem / "SIOCSIFFLAGS no such device"
  2003-02-20 21:50     ` Hamish Moffatt
@ 2003-02-22 18:42       ` ravioli
  0 siblings, 0 replies; 8+ messages in thread
From: ravioli @ 2003-02-22 18:42 UTC (permalink / raw)
  To: linux-hams

Hi Hamish, and thanks for your help,

> > > 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. "

> > > 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 !!





^ permalink raw reply	[flat|nested] 8+ messages in thread

* Serial Port ;-(
  2003-02-20 12:05 ` Hamish Moffatt
  2003-02-20 21:41   ` 
@ 2003-02-23  2:23   ` Vivi Kusumo
  1 sibling, 0 replies; 8+ messages in thread
From: Vivi Kusumo @ 2003-02-23  2:23 UTC (permalink / raw)
  To: linux-hams

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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-02-23  2:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-19  8:29 soundmodem / "SIOCSIFFLAGS no such device" 
2003-02-20 12:05 ` Hamish Moffatt
2003-02-20 21:41   ` 
2003-02-20 21:50     ` Hamish Moffatt
2003-02-22 18:42       ` ravioli
2003-02-23  2:23   ` Serial Port ;-( Vivi Kusumo
2003-02-20 13:53 ` soundmodem / "SIOCSIFFLAGS no such device" ariel mastracchio
2003-02-20 21:48   ` ravioli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox