LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Dell Inspiron 5150 Modem (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/dell-inspiron-5150-modem-194064/)

saklay 06-17-2004 06:31 PM

I guess I have to get myself an external modem. But I'm still keeping my fingers crossed that someone would be able to help me configure my internal modem.

jrittvo 06-18-2004 01:03 AM

Here are a few links for you to investigate for the Broadcom modem. The first one is about softmodems in general:
http://start.at/modem

This next one is about Broadcom specifically:
http://free.hostdepartment.com/g/gro...m/bcm421x.html

It links to this page at Dell with a source code package:
http://support.ap.dell.com/ap/en/fil...?fileid=R47114

I hope some of this is helpful or at least informative!

saklay 06-18-2004 01:36 AM

Thanks jrittvo. Will check the links later tonight and will post any findings.

:)

saklay 06-19-2004 05:42 AM

Tried out the sites and luck is still not on my side. I would appreciate if there are any other references that you could give.

TIA.

saklay 06-21-2004 08:12 AM

Hope someone out there could help me configure my BCM modem.

TIA.

saklay 06-23-2004 07:53 AM

I think making my modem work is already hopeless. Can anyone be kind enough to suggest what type of external modem should I buy to replace it (and why, if it's no hassle). I only have 2 USB ports and I always use one of them for my USB mouse. I also have firewire port but I don't know what that is for.

Thanks.

tricky_linux 06-23-2004 10:23 AM

i don't think you are out of luck yet.
at
http://xoomer.virgilio.it/dollinger/...x/acer800.html
i found him says that a driver at
http://xoomer.virgilio.it/dollinger/...-2.7.10.tar.gz
would work with your internal modem.
try it out see if it works.
you have to use "Save As" to download the driver.
otherwise, you will be redirected to other places.
you can found more recent driver at
ftp://ftp.smlink.com/linux/unsupported/

i did some more research and it looks like the driver surely does work with your modem.
check out there site for further detail
http://www.student.cs.uwaterloo.ca/~...debian_on_t41/
http://www.geekster.org/ibmt41/ibmt41.php

saklay 06-24-2004 08:38 PM

Thanks tricky_linux. I'll try this over the weekend.... hope this works. I'm keeping my fingers crossed.

:)

saklay 06-29-2004 04:25 AM

I tried using the SmartLink 2.9.7 driver but when I read their documentation, it still doesn't support SMP kernels (no wonder it won't compile). I guess I'll just have to wait for them to support this.

Thanks for everyone's input. If there are any more suggestions, it would be greatly appreciated.

:)

tricky_linux 06-29-2004 07:19 AM

oh, i think that's why all the things wasn't working out foryou.
you did state you have two cpu in the first place did you?

chriskearns 06-30-2004 06:30 AM

BCM Modem works on Linux 2.6.5
 
I have a Dell 5150 with the Broadcom softmodem, and it works with Linux 2.6.5 (SuSE 9.1) and slmodem-2.9.7.

Just as a reference, my modem appears as below when I run /sbin/lspci:
0000:00:1f.6 Modem: Intel Corp. 82801DB AC'97 Modem Controller (rev 01)

ScanModem reports the following:
Providing detail for device at PCI_bus 0000:00:1f.6
with vendor-ID:device-ID
----:----
Class 0703: 8086:24c6 Modem: Intel Corp. 82801DB AC'97 Modem Controller (rev 01) (prog-if 00 [Generic])
SubSystem 14e4:4d64 Broadcom Corporation: Unknown device 4d64
Flags: bus master, medium devsel, latency 0, IRQ 7
I/O ports at b400
I/O ports at b080 [size=128]
The soft modem Subsystem operates under a controller
8086:24c6 82801DB ICH4 with Subsystem chipset POSSIBLY from:
Broadcom
AgereSystems
Conexant
Intel
Smartlink

Also, the exact model name is a Broadcom BCM9415M, as labelled on the underside of the laptop.

The modem was detected when I installed SuSE 9.1 but it did not work after the rpms were installed and configured. It started OK but the log files reported "No carrier".

Eventually, I tracked down the problem to not having slmodem compiled for alsa mode. (The slmodem README was a big help, see the "ALSA mode (2.6 kernel only)" section). I downloaded slmodem-2.9.7.tar.gz from www.smlink.com, unzipped and untarred it. Then:
cd slmodem-2.9.7/modem
make SUPPORT_ALSA=1 install

This overwrote the SuSE binary, but that was OK.

Of course, you need your kernel compiled for alsa support (again, see the slmodem README). Then you must load the correct module:
modprobe snd-intel8x0m

And start the daemon, IN ALSA MODE:
/usr/sbin/slmodemd --country=wherever-you-live --alsa hw:1

The "hw:1" is important, as it tells the daemon which ICH channel to use, normally channel 0 is already used by sound, so channel 1 is available for the modem. But you may need to experiment...

Lastly, you can test your modem with wvdial, here is my wvdial.conf:
[Dialer Defaults]
Modem = /dev/modem
Baud = 57600
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 =
Area Code =
Phone = 0
Username =
Password =
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 300
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1

So far, I have not used any V92 features, just used the modem for Internet dialup using pppd and SuSE's KInternet. I have got speeds up to 48K, so I'm happy with that.

For SuSE slmodem automatic startup, I modified the slmodemd configuration file in /etc/sysconfig:
SLMODEMD_COUNTRY="IRELAND"
SLMODEMD_DEVICE="--alsa hw:1"

I also modified /etc/sysconfig/slmodem:
# slmodem support
#Cjk added next line, comment next two.
alias snd-card-1 snd-intel8x0m
#alias char-major-212 slamr
#alias char-major-213 slusb

Hope this helps, I've been going from memory, so there may be a few mistakes.

saklay 07-01-2004 04:52 AM

Thanks chriskearns. Are you using an SMP kernel? According to the README file of slmodem-2.9.7, it still doesn't support SMP kernels. My current kernel is 2.6.6-1.435.2.1smp. Any help you could give is highly appreciated.

saklay 07-01-2004 05:28 AM

chriskearns, this is the error I got when I did make SUPPORT_ALSA=1 install:
make: *** No rule to make target `install'. Stop.

So instead, I did make SUPPORT_ALSA=1 and I got this:
Code:


gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1  -o modem_main.o -c modem_main.c
modem_main.c:64:28: alsa/asoundlib.h: No such file or directory
modem_main.c:101: error: syntax error before "snd_pcm_t"
modem_main.c:101: warning: no semicolon at end of struct or union
modem_main.c:102: warning: type defaults to `int' in declaration of `chandle'
modem_main.c:102: warning: data definition has no type or storage class
modem_main.c:107: error: syntax error before '}' token
modem_main.c:124: error: syntax error before '*' token
modem_main.c:124: warning: type defaults to `int' in declaration of `dbg_out'
modem_main.c:124: warning: data definition has no type or storage class
modem_main.c: In function `alsa_device_setup':
modem_main.c:128: error: storage size of `pfd' isn't known
modem_main.c:130: error: dereferencing pointer to incomplete type
modem_main.c:130: error: dereferencing pointer to incomplete type
modem_main.c:130: error: dereferencing pointer to incomplete type
modem_main.c:130: error: dereferencing pointer to incomplete type
modem_main.c:130: error: dereferencing pointer to incomplete type
modem_main.c:130: error: dereferencing pointer to incomplete type
modem_main.c:131: warning: implicit declaration of function `snd_pcm_open'
modem_main.c:131: error: dereferencing pointer to incomplete type
modem_main.c:131: error: `SND_PCM_STREAM_PLAYBACK' undeclared (first use in this function)
modem_main.c:131: error: (Each undeclared identifier is reported only once
modem_main.c:131: error: for each function it appears in.)
modem_main.c:131: error: `SND_PCM_NONBLOCK' undeclared (first use in this function)
modem_main.c:133: warning: implicit declaration of function `snd_strerror'
modem_main.c:133: warning: format argument is not a pointer (arg 4)
modem_main.c:137: error: dereferencing pointer to incomplete type
modem_main.c:137: error: `SND_PCM_STREAM_CAPTURE' undeclared (first use in this function)
modem_main.c:139: warning: format argument is not a pointer (arg 4)
modem_main.c:143: warning: implicit declaration of function `snd_pcm_poll_descriptors'
modem_main.c:143: error: dereferencing pointer to incomplete type
modem_main.c:145: warning: format argument is not a pointer (arg 4)
modem_main.c:149: error: dereferencing pointer to incomplete type
modem_main.c:150: error: dereferencing pointer to incomplete type
modem_main.c:153: warning: implicit declaration of function `snd_output_stdio_attach'
modem_main.c:128: warning: unused variable `pfd'
modem_main.c: In function `alsa_device_release':
modem_main.c:160: warning: implicit declaration of function `snd_pcm_close'
modem_main.c:160: error: dereferencing pointer to incomplete type
modem_main.c:161: error: dereferencing pointer to incomplete type
modem_main.c: In function `alsa_xrun_recovery':
modem_main.c:171: warning: implicit declaration of function `snd_pcm_prepare'
modem_main.c:171: error: dereferencing pointer to incomplete type
modem_main.c:173: warning: format argument is not a pointer (arg 3)
modem_main.c:176: error: dereferencing pointer to incomplete type
modem_main.c:177: warning: implicit declaration of function `snd_pcm_format_set_silence'
modem_main.c:177: error: `SND_PCM_FORMAT_S16_LE' undeclared (first use in this function)
modem_main.c:178: warning: implicit declaration of function `snd_pcm_writei'
modem_main.c:178: error: dereferencing pointer to incomplete type
modem_main.c:180: warning: format argument is not a pointer (arg 3)
modem_main.c:183: warning: implicit declaration of function `snd_pcm_start'
modem_main.c:183: error: dereferencing pointer to incomplete type
modem_main.c:185: warning: format argument is not a pointer (arg 3)
modem_main.c: In function `alsa_device_read':
modem_main.c:197: warning: implicit declaration of function `snd_pcm_readi'
modem_main.c:197: error: dereferencing pointer to incomplete type
modem_main.c:204: error: dereferencing pointer to incomplete type
modem_main.c: In function `alsa_device_write':
modem_main.c:214: error: dereferencing pointer to incomplete type
modem_main.c:217: error: dereferencing pointer to incomplete type
modem_main.c:232: error: dereferencing pointer to incomplete type
modem_main.c: At top level:
modem_main.c:239: error: syntax error before "mdm2snd_format"
modem_main.c:240: warning: return type defaults to `int'
modem_main.c: In function `mdm2snd_format':
modem_main.c:242: error: `SND_PCM_FORMAT_S16_LE' undeclared (first use in this function)
modem_main.c:243: error: `SND_PCM_FORMAT_UNKNOWN' undeclared (first use in this function)
modem_main.c: At top level:
modem_main.c:247: error: syntax error before '*' token
modem_main.c: In function `setup_stream':
modem_main.c:249: error: `m' undeclared (first use in this function)
modem_main.c:250: error: `snd_pcm_hw_params_t' undeclared (first use in this function)
modem_main.c:250: error: `hw_params' undeclared (first use in this function)
modem_main.c:251: error: `snd_pcm_sw_params_t' undeclared (first use in this function)
modem_main.c:251: error: `sw_params' undeclared (first use in this function)
modem_main.c:252: error: `snd_pcm_format_t' undeclared (first use in this function)
modem_main.c:252: error: syntax error before "format"
modem_main.c:254: error: `snd_pcm_uframes_t' undeclared (first use in this function)
modem_main.c:254: error: syntax error before "size"
modem_main.c:257: warning: implicit declaration of function `snd_pcm_hw_params_malloc'
modem_main.c:259: error: `stream_name' undeclared (first use in this function)
modem_main.c:259: warning: format argument is not a pointer (arg 4)
modem_main.c:262: warning: implicit declaration of function `snd_pcm_hw_params_any'
modem_main.c:262: error: `handle' undeclared (first use in this function)
modem_main.c:264: warning: format argument is not a pointer (arg 4)
modem_main.c:267: warning: implicit declaration of function `snd_pcm_hw_params_set_access'
modem_main.c:267: error: `SND_PCM_ACCESS_RW_INTERLEAVED' undeclared (first use in this function)
modem_main.c:269: warning: format argument is not a pointer (arg 4)
modem_main.c:272: error: `format' undeclared (first use in this function)
modem_main.c:273: error: `SND_PCM_FORMAT_UNKNOWN' undeclared (first use in this function)
modem_main.c:277: warning: implicit declaration of function `snd_pcm_hw_params_set_format'
modem_main.c:279: warning: format argument is not a pointer (arg 4)
modem_main.c:282: warning: implicit declaration of function `snd_pcm_hw_params_set_channels'
modem_main.c:284: warning: format argument is not a pointer (arg 4)
modem_main.c:288: warning: implicit declaration of function `snd_pcm_hw_params_set_rate_near'
modem_main.c:290: warning: format argument is not a pointer (arg 4)
modem_main.c:298: error: `rsize' undeclared (first use in this function)
modem_main.c:298: error: `size' undeclared (first use in this function)
modem_main.c:298: error: dereferencing pointer to incomplete type
modem_main.c:299: warning: implicit declaration of function `snd_pcm_hw_params_set_period_size_near'
modem_main.c:301: warning: format argument is not a pointer (arg 4)
modem_main.c:310: warning: implicit declaration of function `snd_pcm_hw_params_set_buffer_size_near'
modem_main.c:312: warning: format argument is not a pointer (arg 4)
modem_main.c:319: warning: implicit declaration of function `snd_pcm_hw_params'
modem_main.c:321: warning: format argument is not a pointer (arg 4)
modem_main.c:326: warning: format argument is not a pointer (arg 4)
modem_main.c:329: warning: implicit declaration of function `snd_pcm_hw_params_free'
modem_main.c:331: warning: implicit declaration of function `snd_pcm_sw_params_malloc'
modem_main.c:333: warning: format argument is not a pointer (arg 4)
modem_main.c:336: warning: implicit declaration of function `snd_pcm_sw_params_current'
modem_main.c:338: warning: format argument is not a pointer (arg 4)
modem_main.c:341: warning: implicit declaration of function `snd_pcm_sw_params_set_start_threshold'
modem_main.c:343: warning: format argument is not a pointer (arg 4)
modem_main.c:346: warning: implicit declaration of function `snd_pcm_sw_params_set_avail_min'
modem_main.c:348: warning: format argument is not a pointer (arg 4)
modem_main.c:351: warning: implicit declaration of function `snd_pcm_sw_params_set_xfer_align'
modem_main.c:353: warning: format argument is not a pointer (arg 4)
modem_main.c:356: warning: implicit declaration of function `snd_pcm_sw_params'
modem_main.c:358: warning: format argument is not a pointer (arg 4)
modem_main.c:361: warning: implicit declaration of function `snd_pcm_sw_params_free'
modem_main.c:364: warning: implicit declaration of function `snd_pcm_dump'
modem_main.c: In function `alsa_start':
modem_main.c:373: error: dereferencing pointer to incomplete type
modem_main.c:374: error: dereferencing pointer to incomplete type
modem_main.c:377: error: dereferencing pointer to incomplete type
modem_main.c:380: error: dereferencing pointer to incomplete type
modem_main.c:383: error: `SND_PCM_FORMAT_S16_LE' undeclared (first use in this function)
modem_main.c:389: error: dereferencing pointer to incomplete type
modem_main.c:394: error: dereferencing pointer to incomplete type
modem_main.c:395: error: dereferencing pointer to incomplete type
modem_main.c:396: warning: implicit declaration of function `snd_pcm_link'
modem_main.c:396: error: dereferencing pointer to incomplete type
modem_main.c:396: error: dereferencing pointer to incomplete type
modem_main.c:398: warning: format argument is not a pointer (arg 3)
modem_main.c:401: error: dereferencing pointer to incomplete type
modem_main.c:403: warning: format argument is not a pointer (arg 3)
modem_main.c:406: error: dereferencing pointer to incomplete type
modem_main.c: In function `alsa_stop':
modem_main.c:414: error: dereferencing pointer to incomplete type
modem_main.c:415: warning: implicit declaration of function `snd_pcm_drop'
modem_main.c:415: error: dereferencing pointer to incomplete type
modem_main.c:416: warning: implicit declaration of function `snd_pcm_nonblock'
modem_main.c:416: error: dereferencing pointer to incomplete type
modem_main.c:417: warning: implicit declaration of function `snd_pcm_drain'
modem_main.c:417: error: dereferencing pointer to incomplete type
modem_main.c:418: error: dereferencing pointer to incomplete type
modem_main.c:419: warning: implicit declaration of function `snd_pcm_unlink'
modem_main.c:419: error: dereferencing pointer to incomplete type
modem_main.c:420: warning: implicit declaration of function `snd_pcm_hw_free'
modem_main.c:420: error: dereferencing pointer to incomplete type
modem_main.c:421: error: dereferencing pointer to incomplete type
modem_main.c: In function `alsa_ioctl':
modem_main.c:438: error: dereferencing pointer to incomplete type
modem_main.c:439: error: dereferencing pointer to incomplete type
modem_main.c: In function `modemap_start':
modem_main.c:468: error: dereferencing pointer to incomplete type
modem_main.c:469: error: dereferencing pointer to incomplete type
modem_main.c:474: error: dereferencing pointer to incomplete type
modem_main.c:476: error: dereferencing pointer to incomplete type
modem_main.c:479: error: dereferencing pointer to incomplete type
modem_main.c: In function `modemap_stop':
modem_main.c:487: error: dereferencing pointer to incomplete type
modem_main.c: In function `modemap_ioctl':
modem_main.c:497: error: dereferencing pointer to incomplete type
modem_main.c:500: error: dereferencing pointer to incomplete type
modem_main.c: In function `mdm_device_read':
modem_main.c:516: error: dereferencing pointer to incomplete type
modem_main.c: In function `mdm_device_write':
modem_main.c:523: error: dereferencing pointer to incomplete type
modem_main.c: In function `mdm_device_setup':
modem_main.c:532: error: dereferencing pointer to incomplete type
modem_main.c:532: error: dereferencing pointer to incomplete type
modem_main.c:532: error: dereferencing pointer to incomplete type
modem_main.c:532: error: dereferencing pointer to incomplete type
modem_main.c:532: error: dereferencing pointer to incomplete type
modem_main.c:532: error: dereferencing pointer to incomplete type
modem_main.c:548: error: dereferencing pointer to incomplete type
modem_main.c:549: error: dereferencing pointer to incomplete type
modem_main.c: In function `mdm_device_release':
modem_main.c:555: error: dereferencing pointer to incomplete type
modem_main.c: In function `modem_run':
modem_main.c:686: error: dereferencing pointer to incomplete type
modem_main.c:686: error: dereferencing pointer to incomplete type
modem_main.c:687: error: dereferencing pointer to incomplete type
modem_main.c:687: error: dereferencing pointer to incomplete type
modem_main.c:688: error: dereferencing pointer to incomplete type
modem_main.c:712: error: dereferencing pointer to incomplete type
modem_main.c:712: error: dereferencing pointer to incomplete type
modem_main.c:721: error: dereferencing pointer to incomplete type
modem_main.c:730: error: dereferencing pointer to incomplete type
modem_main.c:730: error: dereferencing pointer to incomplete type
modem_main.c:744: error: dereferencing pointer to incomplete type
modem_main.c:751: error: dereferencing pointer to incomplete type
modem_main.c:778: error: dereferencing pointer to incomplete type
modem_main.c: In function `modem_main':
modem_main.c:843: error: storage size of `device' isn't known
modem_main.c:843: warning: unused variable `device'
make: *** [modem_main.o] Error 1

Hope you could enlighten me what I did wrong.

TIA.

chriskearns 07-01-2004 06:31 AM

Need ALSA development files
 
Hello saklay,

You need the alsa development files installed under /usr/include. On SuSE 9.1, they are included in the alsa-devel-1.0.3-37.rpm package, and rpm -ivh puts them in the correct place. I presume FC will have a similar package.

My Dell 5150 3.06GHz P4 is not HT enabled, so I have only one CPU. However, I can boot both standard and SMP SuSE 9.1 kernels, and the modem works in both environments.

Regards.

shankariyer 08-08-2004 12:29 AM

I've a question regarding XP and FC2's coexistence in 5150. Did you encounter the boot-sector over-write problem ?

In my case, I've XP and SuSE and I'd like to replace SuSE with FC2, but am afraid of loosing XP. I read about the manual correction mode, but it sounded tedious.

Thanks.


All times are GMT -5. The time now is 05:16 AM.