[TiLUG] [Fwd: Re: Debian, macbook and Apple USB Modem]
Davide
dg@linux.it
Mer 20 Giu 2007 09:35:58 CEST
Mi aiutate a tradurre che dire di non aver capito nulla č restrittivo.
Non conosco cosė bene l'architettura.
In sostanza cosa dice di fare?
Ciao e grazie
Davide
---------------------------- Original Message ----------------------------
Subject: Re: Debian, macbook and Apple USB Modem
From:
Date: Tue, June 19, 2007 6:20 pm
To: "Davide"
--------------------------------------------------------------------------
Davide,
Also the normal function of
slmodemd -c ITALY /dev/slusb0
is to use /dev/slusb0 to dynamically create the true modem port
/dev/pts/N , N some number
with /dev/ttySL0 --> /dev/pts/N
being a convient symbolic link to the /dev/pts/N
N may change during different bootups. All of the /dev/slusbN ,
/dev/pts/N and /dev/ttySL0 are created in RAM space and disappear upon
shutdown.
The sl-modem-daemon package scripts should provide for /dev/slusb0
creation automatically.
The first function test to try after a succcessfull creation of
/dev/ttySL0 --> /dev/ptsN
is
# wvdialconf /etc/wvdial.conf
which should find the modem by following /dev/ttySL0
For modems using /dev/pts/N ports, there must be added to /etc/wvdial.conf
a line:
Carrier Check = no
and of course replacement of the <xxx> with your personal information.
MarvS
On 6/19/07, wrote:
> Davide,
>
> The service has been confirmed for the slamr.ko driver of a single
> PCI card Motorola chipset. It cannot be expected to extend to a USB
> modem using the slusb.ko driver. However, If you will send me the
> output of
> $ lsusb -v
> describing your modem, I'll write the minor code fix to slusb which
> would enable a proper test.
>
> MarvS
>
> On 6/19/07, Davide <dg@linux.it> wrote:
> > Good morning.
> >
> > I recently bought a Macbook and an Apple USB Modem. By a post found on
> > the net (apple site), it should be a Motorola SM56 (a 56k modem). The
> > operating system I'm using is Debian etch.
> >
> > On a mailing list someone said me that this chipset is supported by
> > 2.9.11 of sl-modem. I've downloaded the slmodem-2.9.11-20070505.
> >
> > I've correctly installed it with Make and Make install as
> > documentation say, and there's no problem.
> >
> > Then I tried to load the slusb[1] driver and everything was fine. But
> > I can't make the slmodemd start correctly[2].
> >
> > So I tried installing[3] the sl-modem-daemon package and it will discover
> > the modem correctly but fail in something: for example try to link
> > ttySL0 instead of slusb0.
> >
> > And when I try to reconfigure the daemon, it say that there's no
> > sldaemon running[4].
> >
> > Here[5] and extract of the dmesg when I (un)plug the usb modem.
> >
> > What can I do?
> >
> > Thanks in advance
> > Davide
> >
> >
> > 1.
> > davide@unclescrooge:$ sudo modprobe slusb
> > davide@unclescrooge:$ lsmod | grep slusb
> > slusb 19044 0
> >
> > 2.
> > davide@unclescrooge:$ sudo slmodemd --country=ITALY /dev/slusb0
> > error: mdm setup: cannot open dev `/dev/slusb0': No such device
> > error: cannot setup device `/dev/slusb0'
> > davide@unclescrooge:$ sudo slmodemd --country=ITALY /dev/slusb1
> > error: mdm setup: cannot open dev `/dev/slusb1': No such device
> > error: cannot setup device `/dev/slusb1'
> > davide@unclescrooge:$ sudo slmodemd --country=ITALY /dev/slusb2
> > error: mdm setup: cannot open dev `/dev/slusb2': No such device
> > error: cannot setup device `/dev/slusb2'
> > davide@unclescrooge:$ sudo slmodemd --country=ITALY /dev/slusb3
> > error: mdm setup: cannot open dev `/dev/slusb3': No such device
> > error: cannot setup device `/dev/slusb3'
> > davide@unclescrooge:$ ls -l /dev/slusb*
> > crw------- 1 root root 243, 0 2007-06-18 22:39 /dev/slusb0
> > crw------- 1 root root 243, 1 2007-06-18 22:39 /dev/slusb1
> > crw------- 1 root root 243, 2 2007-06-18 22:39 /dev/slusb2
> > crw------- 1 root root 243, 3 2007-06-18 22:39 /dev/slusb3
> >
> > 3.
> > $ sudo dpkg -i
> > /var/cache/apt/archives/sl-modem-daemon_2.9.9d+e-pre2-7etch2_i386.deb
> > Selecting previously deselected package sl-modem-daemon.
> > (Reading database ... 68785 files and directories currently installed.)
> > Unpacking sl-modem-daemon (from
> > .../sl-modem-daemon_2.9.9d+e-pre2-7etch2_i386.deb) ...
> > Setting up sl-modem-daemon (2.9.9d+e-pre2-7etch2) ...
> > 1 [Modem ]: USB-Audio - Apple USB Modem
> > Starting SmartLink Modem driver for: modem:1.
> > Creating /dev/modem symlink, pointing to: /dev/ttySL0
> >
> > 4.
> > $ sudo dpkg-reconfigure sl-modem-daemon -plow
> > Shutting down SmartLink Modem driver normally ... no slmodemd daemon
running.
> > Unloading modem driver from kernel ... none found.
> > 1 [Modem ]: USB-Audio - Apple USB Modem
> > Starting SmartLink Modem driver for: modem:1.
> > Creating /dev/modem symlink, pointing to: /dev/ttySL0.
> >
> > 5.
> > $dmesg
> > ...
> > usb 3-1: new full speed USB device using uhci_hcd and address 2
> > usb 3-1: configuration #1 chosen from 1 choice
> > usbcore: registered new driver snd-usb-audio
> > slusb: module license 'Smart Link Ltd.' taints kernel.
> > Symbol usb_register_driver is being used by a non-GPL module, which will
> > not be allowed in the future
> > Please see the file Documentation/feature-removal-schedule.txt in the
> > kernel source tree for more details.
> > Symbol usb_deregister is being used by a non-GPL module, which will
not be
> > allowed in the future
> > Please see the file Documentation/feature-removal-schedule.txt in the
> > kernel source tree for more details.
> > ST7554 USB Modem.
> > usbcore: registered new driver ST7554 USB Modem
> > usb 3-1: USB disconnect, address 2
> > usb 3-1: new full speed USB device using uhci_hcd and address 3
> > usb 3-1: configuration #1 chosen from 1 choice
> >
> >
> >
>
Maggiori informazioni sulla lista
TiLUG