Re: bbutler, Ireland Ubuntu 6.06 LTS kernel 2.6.15-23-386

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

 



Bernard,

I'm testing with a:
$ lsusb
Bus 004 Device 001: ID 0000:0000
Bus 001 Device 003: ID 0483:7554 SGS Thomson Microelectronics 56k SoftModem

Before plugging in the USB cord:
$ lsmod | grep sl
That  is, driver slusb is not  loaded.

To watch kernel messages:
$ tail -f /var/log/messages &

Attaching the USB cord:
[17272947.084000] usb 1-2: new full speed USB device using uhci_hcd
and address 2
[17272947.248000] usb 1-2: configuration #1 chosen from 1 choice
[17272947.692000] Symbol usb_register_driver is being used by a
non-GPL module, which will not be allowed in the future
[17272947.692000] Please see the file
Documentation/feature-removal-schedule.txt in the kernel source tree
for more details.
[17272947.692000] Symbol usb_deregister is being used by a non-GPL
module, which will not be allowed in the future
[17272947.692000] Please see the file
Documentation/feature-removal-schedule.txt in the kernel source tree
for more details.
[17272947.696000] ST7554 USB Modem.
[17272947.716000] <6>slusb: slusb0 is found.

$ lsmod | grep sl
slusb                  16612  0
usbcore               122240  4 slusb,ehci_hcd,uhci_hcd

Unfortunately something has gone wrong with the automation scripts,
as the expected /dev/slusb0 was Not autocreated.
I'll figure out this fault later.
But here is the manual procedure, needed at each bootup as /dev/slusb0
is created in RAM space.

$ sudo mknod -m 600 /dev/slusb0 c 243 0
Checking:
$ ls -l /dev/slusb*
crw------- 1 root root 243, 0 2007-06-27 21:19 /dev/slusb0

Activating the modem
$ sudo slmodemd -c USA  /dev/slusb0
SmartLink Soft Modem: version 2.9.9e-pre1 May 28 2006 17:44:44
symbolic link `/dev/ttySL0' -> `/dev/pts/1' created.
modem `slusb0' created. TTY is `/dev/pts/1'
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.

Leave slmodemd running and open a 2nd terminal.  Therein:
ls -l /dev/ttySL0
lrwxrwxrwx 1 root root 10 2007-06-27 21:20 /dev/ttySL0 -> /dev/pts/1
Where the dynamically created /dev/pts/1 is the true port (might be
/dev/pts/2 under a different bootup condition)

Testing with:
marv@marvlap:~$ sudo wvdialconf /etc/wvdial.conf
Scanning your serial ports for a modem.
WvModem<*1>: Cannot get information for serial port.
ttySL0<*1>: ATQ0 V1 E1 -- OK
ttySL0<*1>: ATQ0 V1 E1 Z -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttySL0<*1>: Modem Identifier: ATI -- SmartLink Soft Modem
ttySL0<*1>: Speed 4800: AT -- OK
ttySL0<*1>: Speed 9600: AT -- OK
ttySL0<*1>: Speed 19200: AT -- OK
ttySL0<*1>: Speed 38400: AT -- OK
ttySL0<*1>: Speed 57600: AT -- OK
ttySL0<*1>: Speed 115200: AT -- OK
ttySL0<*1>: Speed 230400: AT -- OK
ttySL0<*1>: Speed 460800: AT -- OK
ttySL0<*1>: Max speed is 460800; that should be safe.
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttySL0.
Modem configuration written to wvtest.
ttySL0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

Add a line
Carrier Check  =  no
and replace the <xxxx>  with your dialout info using:
$ sudo gedit  /etc/wvdial.conf

Save and dialout with:
$ sudo wvdial

MarvS

On 6/27/07, Bernard Butler <bbutler@xxxxxxxx> wrote:
Hi Marvin,

No joy, I'm afraid.

I had a terminal session open and there were no messages about slusb
loading when I plugged in the USB modem.  I did not even see the light
flicker momentarily when I plugged it in, as it did on the Windows laptop,
but I might have missed it.

I found /dev/pts/0 but no /dev/ttySL0.

wvdialconf failed again in the same way - could not find a modem.

I'm not convinced that slmodemd is running.

Regards,
Bernard

> Bernard,
>
> Try booting up without the USB modem attached.
> Upon attachment you should get messages about slusb loading and creation
> of
> /dev/ttySL0 --> /dev/pts/N  ,N a number.
> Then retry
> $ sudo  wvdialconf  /etc/wvdlal.conf
>
> Be bac this PM.
>
> Marv
>
> On 6/27/07, Bernard Butler <bbutler@xxxxxxxx> wrote:
>> Hi Marvin,
>>
>> Thanks for your help.  I followed your advice but there seems to be a
>> problem with slmodemd starting up after the setup command was issued as
>> recommended below:
>> $ sudo ./setup USB
>>
>> I have attached setup.log - it appears that slmodemd does not run and
>> the
>> modem port is not created.
>>
>> However, I rebooted as you suggested and ran wvdialconf as advised.
>> I've
>> attached wvdialconf.log showing the output - clearly it cannot determine
>> the modem details.
>>
>> I tried rerunning setup and have attached a slightly different log file
>> (setup2.log) but the end result is the same.
>>
>> I saw somewhere among the scanModem extra files that there can be a
>> problem if an ethernet card is present (as is the case on the machine),
>> so
>> I issued a
>> $ sudo ifconfig eth0 down
>> command as recommended in the extra files, but that did not seem to help
>> either.
>>
>> I've tried the modem with another machine (a borrowed laptop running
>> Windows XP with SP2) and it seemed to work OK.
>>
>> Sorry to cause any further trouble, but I'd welcome your advice on how
>> to
>> resolve the problem.
>>
>> Thanks,
>> Bernard
>>
>>
>> > Bernard,
>> >
>> >  ID 0483:7554 SGS Thomson Microelectronics 56k SoftModem
>> > under CPU=i686,  Ubuntu 6.06 LTS
>> > Linux version 2.6.15-23-386
>> > will be supported by   slamr-2.6.15-23-386.tgz
>> > http://phep2.technion.ac.il/linmodems/packages/smartlink/Ubuntu/
>> >
>> > Under Linux:
>> > $ tar zxf slam(.tgz
>> > $ cd  slamr-2.6.15-23-386
>> > Browse the files
>> > $  sudo ./setup USB
>> > The ouput messages are appropriate to the slamr, not the slusb driver
>> > you will be using.  But just reboot.  Then
>> > $ sudo  wvdialconf  /etc/wvdial.conf
>> > should find the modem.
>> > $ sudo gedit /etc/wvdial.conf
>> > adding a line:
>> >   Carrier Check  =  no
>> > and replacing the  <xxxx>  with your dialout info
>> >
>> > Then dialout with:
>> > $ sudo wvdial
>> >
>> > MarvS
>> >
>> > $
>> >
>> > On 6/26/07, Bernard Butler <bbutler@xxxxxxxx> wrote:
>> >> Hi,
>> >>
>> >> I have an elderly Dell GX110 and a choice of two USB modems.
>> >>
>> >> I installed Xubuntu 6.06 LTS with standard options.
>> >>
>> >> The two USB modems I have are, in order of preference:
>> >>
>> >> 1) Trust 56K V92 USB modem (Item No. 14209) - this has a second
>> >> (pass-thru?) line out suitable for connecting a telephone cable
>> >>
>> >> 2) SpeedCom+ V.90/56K USB Modem (VD56US)
>> >>
>> >> I'd prefer to use the Trust modem because of the convenience of being
>> >> able
>> >> to leave both the PC and the phone connected all the time (without
>> messy
>> >> unplugging one to use the other), but I can use the SpeedCom+ modem
>> >> instead if that's a better choice.
>> >>
>> >> I've attached Trustlsusb.txt which is the result of issuing the lsusb
>> >> command while the Trust USB modem is attached to a USB port -
>> scanModem
>> >> did not appear to recognise the Trust modem.
>> >>
>> >> I would be grateful if you could review
>> >>
>> >> 1) TrustModemData.txt with Trustlsusb.txt
>> >>
>> >> 2) SpeedcomModemData.txt
>> >>
>> >> and advise how best to proceed to be able to connect to an ISP.
>> >>
>> >> Thanks for your help,
>> >>
>> >> Bernard
>> >>
>> >>
>> >
>> >
>>
>>
>
>




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

  Powered by Linux