Re: kernel 2.6.26-2-686 error Invalid argument and mixer setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



DL

RE: CPU=i686,  Linux version 2.6.26-2-686 (Debian gcc version 4.1.3
with  Modem:
Motorola SM56 Data Fax Modem "
CLASS=0703
PCIDEV=1057:3052
---------------
Is the sl-modem-daemon package installed?  If so, it automates
# modprobe ungrab-winmodem
# modprobe slamr
and port creation

Check for ports after bootup with:
$ ls -l /dev/ttySL0 /dev/slamr0  /dev/pts/*
The  /dev/slamr0 is essential for support for function of 1057:3052
chipset function
If these ports are there the sl-modem-daemon scripts should have
activated the modem,
so it should suffice to:
# wvdial
provided /etc/wvdial.conf  contains the line:
Carrier Check  = no

If the sl-modem-daemon package is not installed you must manually
create the port with:
# mknod -m 600 /dev/slamr0 c 242 0
before slamr loading

If the sl-modem-daemon package is not installed, activate the modem with:
# slmodemd -c CANADA /dev/slamr0

You can automate port creation by writing a file with:
# gedit /etc/modprobe.d/slamr.conf

containing a single line (not folded as in this email):
install slamr modprobe --ignore-install ungrab-winmodem ;  modprobe
--ignore-install slamr; test -e /dev/slamr0 || (/bin/mknod -m 660
/dev/slamr0 c 242 0 2>/dev/null && chgrp dialout /dev/slamr0)

with this line:
# modprobe slamr
will preload ungrab-winmodem and create the /dev/slamr0 to:

MarvS
scanModem maintainer



On Thu, Feb 18, 2010 at 3:44 PM, David Hammett <doclinux@xxxxxxxxxx> wrote:
> Thanks Antonio
>
> Sorry about not getting back sooner. I was gone to Birmingham taking someone
> to a drug rehab. I am an associate pastor, so my lord Jesus calls me some
> where and I have to go.
>
> ------------
>
> You stated: What command did you use to connect?
> I used slmodemd -c USA --alsa hw:0,0
>
> I compelled slmodemd with alsa support
>
> home:~# cat /proc/asound/pcm
> 00-04: ALC880 Analog : ALC880 Analog : capture 1
> 00-00: ALC880 Analog : ALC880 Analog : playback 1 : capture 1
>
> -----------
>
> You stated: So you would need to use slmodemd without alsa mode.
>
> $ sudo slmodemd -c USA /dev/slamr0
>
> I have tried that with no luck. I get something like error: no device found
> for /dev/slamr0
>
> I've also tried >>
> slmodemd -c USA --alsa modem:1, slmodemd -c USA --alsa modem:2 ...... and so
> on
> slmodemd -c USA  modem:1 , slmodemd -c USA modem:2 ...... and so on
>
> slmodemd -c USA /dev/slamr0, slmodemd -c USA /dev/slamr1 ......and so on
>
> Like I stated I compelled it with alsa support.
>
> -------------
>
> You stated: but before that you should have done
> $ sudo modprobe ungrab-winmodem
> $ sudo modprobe slamr
>
> Yes I do that every time I reboot the system and as su # root
>
> ------------
>
> I have been using slmodemd for a while on my other system.
> This is a new system I am butting to gather for a friend.
> So I know a little about slmodend and its commands. I just can not get this
> one working for some reason.
>
> When I compelled ungrab-winmodem and slmodemd, every thing looked good.
>
>
> Thanks And:
> God Bless You!
>
>
> -----Original Message-----
> From: discuss-return-36044-doclinux=copper.net@xxxxxxxxxxxxx
> [mailto:discuss-return-36044-doclinux=copper.net@xxxxxxxxxxxxx] On Behalf Of
> Antonio Olivares
> Sent: Wednesday, February 17, 2010 4:10 AM
> To: doclinux@xxxxxxxxxx
> Cc: discuss@xxxxxxxxxxxxx
> Subject: Re: kernel 2.6.26-2-686 error Invalid argument and mixer setup
>
> David,
>
> What command did you use to connect?
>
> if you used something like
>
> $sudo slmodemd -c USA --alsa modem:1
>
> home:/home/walter# slmodemd -c USA --alsa hw:0,0
> error: mixer setup: Off-hook switch not found for card hw:0 SmartLink
> Soft Modem: version 2.9.11 Feb  5 2010 01:34:11 symbolic link
> `/dev/ttySL0' -> `/dev/pts/2' created. modem `hw:0,0' created. TTY is
> `/dev/pts/2' Use `/dev/ttySL0' as modem device, Ctrl+C for
> termination.
> error: cannot set channels for playback: Invalid argument
> error: cannot set channels for playback: Invalid argument
> error: cannot set channels for playback: Invalid argument
>
> that is what you would see.  So you would need to  use slmodemd
> without alsa mode.
>
> $ sudo slmodemd -c USA /dev/slamr0
>
> but before that you should have done
> $ sudo modprobe ungrab-winmodem
> $ sudo modprobe slamr
>
> then run above slmodemd command and see if you could connect.
>
> Try that and report back.
>
> Regards,
>
> Antonio
>
> On 2/17/10, Antonio Olivares <olivares14031@xxxxxxxxx> wrote:
>> David,
>>
>> What command did you use to connect?
>>
>> if you used something like
>>
>> $sudo slmodemd -c USA --alsa modem:1
>>
>> home:/home/walter# slmodemd -c USA --alsa hw:0,0
>> error: mixer setup: Off-hook switch not found for card hw:0 SmartLink
>> Soft Modem: version 2.9.11 Feb  5 2010 01:34:11 symbolic link
>> `/dev/ttySL0' -> `/dev/pts/2' created. modem `hw:0,0' created. TTY is
>> `/dev/pts/2' Use `/dev/ttySL0' as modem device, Ctrl+C for
>> termination.
>> error: cannot set channels for playback: Invalid argument
>> error: cannot set channels for playback: Invalid argument
>> error: cannot set channels for playback: Invalid argument
>>
>> that is what you would see.  So you would need to  use slmodemd
>> without alsa mode.
>>
>> $ sudo slmodemd -c USA /dev/slamr0
>>
>> but before that you should have done
>> $ sudo modprobe ungrab-winmodem
>> $ sudo modprobe slamr
>>
>> then run above slmodemd command and see if you could connect.
>>
>> Try that and report back.
>>
>> Regards,
>>
>> Antonio
>>
>> On 2/16/10, David Hammett <doclinux@xxxxxxxxxx> wrote:
>>>
>>> I need help please
>>>
>>> My linux kernel is kernel 2.6.26-2-686
>>> I have compelled slmodem-2.9.11-20090222.tar.gz and
>>> ungrab-winmodem-20080126
>>>
>>> you can see that it sets up the symbolic link `/dev/ttySL0' ->
>>> `/dev/pts/2
>>> but with a error: mixer setup: Off-hook switch not found for card hw:0
>>> also
>>> when I wvdial I get a No Carrier!  Trying again. also in the shell I get
>>> a
>>> error: cannot set channels for playback: Invalid argument.
>>>
>>> Im attaching some shell outputs and my wvdial.conf , modemdata.txt and
>>> dmesg.out so you can look at it and try to help me please.
>>>
>>>
>>> Thanks And:
>>> God Bless You!
>>>
>>>
>>>
>>
>
>


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux