LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 05-28-2003, 08:15 AM   #1
wvrhlu
Member
 
Registered: Mar 2003
Location: Eastern Panhandle of WV
Distribution: RH 7.3
Posts: 39

Rep: Reputation: 15
Question TP 600 modem issues


I'm using an IBM TP 600 loaded with RH 8.0 (2.4.20) and am currently trying to get the internal modem to work. Yep, I'm aware that it can be a pain, but I think I am very close....

1. I compiled the kernel with the mwave support (not as a module).
2. I ran `setserial /dev/ttyS1 autoconfig` as suggested on the IBM developer's site where the mwave drivers are available. Following that, /dev/ttyS1 is set to:

/dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3

3. I soft-linked /dev/modem to /dev/ttyS1 for ease.
4. I ran kppp and get "modem busy". Same results for running a test against the modem with any modem based connection program (kermit, minicom, etc).
5. syslogs show no anomalies whatsoever.

Any ideas? Here is the output of /proc interrupts:
CPU0
0: 182850 XT-PIC timer
1: 2277 XT-PIC keyboard
2: 0 XT-PIC cascade
3: 0 XT-PIC mwave_3780i
9: 3501 XT-PIC 3c589_cs
11: 0 XT-PIC Texas Instruments PCI1250, Texas Instruments PCI1250 (#2)
12: 21102 XT-PIC PS/2 Mouse
14: 13233 XT-PIC ide0
NMI: 0
LOC: 0
ERR: 0
MIS: 0

# ll /dev/modem
lrwxrwxrwx 1 root root 10 May 27 15:32 /dev/modem -> /dev/ttyS1

# ll /dev/ttyS1
crw-rw---- 1 root uucp 4, 65 Aug 30 2002 /dev/ttyS1

# cat /proc/mwave
3780i_IRQ 3
3780i_DMA 6
3780i_IO 0x0130
UART_IRQ 3
UART_IO 0x02f8
 
Old 05-31-2003, 03:58 PM   #2
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
are you running mwavem? I'm using mdk9.0 on a tp 600, and while I don't get a "modem busy" message, without mwavem running, I would get a "modem not responding" message.
 
Old 05-31-2003, 04:12 PM   #3
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
(is there any way to edit one's posts here?, oops, just found it, sorry).

I really should have posted some of my corresponding info, since my modem is working fine, here you go these were done with the module loaded (modprobe mwave) and mwavem running (mwavem &), kppp's ati cmds mostly all return ibm mwave v4.0, or similar:

# cat /proc/mwave
3780i_IRQ 10
3780i_DMA 7
3780i_IO 0x0130
UART_IRQ 3
UART_IO 0x02f8

# cat /proc/interrupts
CPU0
0: 1520588 XT-PIC timer
1: 7700 XT-PIC keyboard
2: 0 XT-PIC cascade
4: 168214 XT-PIC pcmf502rd
5: 299799 XT-PIC Crystal audio controller
8: 4 XT-PIC rtc
10: 51 XT-PIC mwave_3780i
11: 0 XT-PIC usb-uhci, Texas Instruments PCI1250, Texas Instruments PCI1250 (#2)
12: 859748 XT-PIC PS/2 Mouse
14: 18609 XT-PIC ide0
NMI: 0
LOC: 0
ERR: 0
MIS: 0

perhaps more importantly:
# cat /etc/modules.conf

probeall usb-interface usb-uhci
alias sound cs4232
#alias midi opl3
#options opl3 io=0x388
options cs4232 io=0x530 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=5 synthirq=-1 synthio=-1
alias char-major-10-219 mwave
options mwave mwave_3780i_irq=10 mwave_3780i_io=0x0130 mwave_uart_irq=3 mwave_uart_io=0x2f8
alias sound-slot-0 ad1848

keep
path[thinkpad]=/lib/modules/`uname -r`/thinkpad
options thinkpad enable_smapi=1 enable_superio=1 enable_rtcmosram=1 enable_thinkpadpm=1
alias char-major-10-170 thinkpad
alias /dev/thinkpad thinkpad
alias /dev/thinkpad/thinkpad thinkpad
alias /dev/thinkpad/smapi smapi
alias /dev/thinkpad/superio superio
alias /dev/thinkpad/rtcmosram rtcmosram
alias /dev/thinkpad/thinkpadpm thinkpadpm

take look at the "options mwave..." line, I was under the impression that the mwave main controller always used irq10. BTW, I don't have to do any setserial stuff, nor did I have to alias the device, which is /dev/ttyS1, which points to /dev/tts/1, I just set that device in kppp's modem setup area. hope this helps, let me know if you have any other hdwe issues with your tp600, as I have found drivers for all of it's devices, and they all are now working fine. I just tested this and found out that the whole mwave setup does not survive a suspend/resume (apm --suspend), the module stays loaded, mwavem remains in memory, but I get the error "Sorry, modem is busy". To fix this I had to killall mavem, and modprobe -r mwave, then put them back.

One last thing, I have read that the later 600 models did not use the mwave dsp.

Last edited by akaBeaVis; 05-31-2003 at 04:31 PM.
 
Old 06-09-2003, 07:46 AM   #4
wvrhlu
Member
 
Registered: Mar 2003
Location: Eastern Panhandle of WV
Distribution: RH 7.3
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks for the info. I had actually kind of given up on receiving a response and began trying to make my TP self-destruct.

I finally got it to work. The problem was two-fold. First, IR port was enabled in BIOS and, second, my network card was trying to use the same IRQ. After I disabled the IR port, I started getting error messages in the syslogs that I was able to use to narrow it down.

I never did get kppp to work, but wvdial works just fine... Maybe it's because I live in WV????

(kidding)

--
WVRHLU
 
Old 08-13-2003, 10:05 AM   #5
guohaixun
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
question about mandrake9.0 on tp600

I am a newman with Linux.I installed mandrake9.0 on my tp600 this afternoon,but I didn't know the type of my LCD,so I can't configure my xwindows.Now I can only enter the text mode.I just see the akaBeaVis has used mandrake9.0 on his tp600,please tell me how how to configure the xwindows in the text mode now and what type of the lcd it is.my e-mail is :guohaixun@sohu.com.
If anyone else knows the solution,please give me a hand.

:cool:
 
Old 08-13-2003, 10:09 AM   #6
guohaixun
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
I am a new man with Linux.I installed mandrake9.0 on my tp600 this afternoon,but I didn't know the type of my LCD,so I can't configure my xwindows.Now I can only enter the text mode.I just see the akaBeaVis has used mandrake9.0 on his tp600,please tell me how how to configure the xwindows in the text mode now and what type of the LCD it is.my e-mail is :guohaixun@sohu.com.
If anyone else knows the solution,please give me a hand.

 
Old 08-13-2003, 10:26 AM   #7
wvrhlu
Member
 
Registered: Mar 2003
Location: Eastern Panhandle of WV
Distribution: RH 7.3
Posts: 39

Original Poster
Rep: Reputation: 15
Hmmm....

Never had an issue with the video at all. However, Ralph Levien has a quick blub on it on his site:

http://www.levien.com/tp600.html

Check it out and see if that helps. I'm running RH 9 right now, but was interested in trying Debian. Let me know how it works.
 
Old 08-13-2003, 08:07 PM   #8
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
Man, I'm sorry, haven't checked this thread for awhile, here's my /etc/X11/XF86Config-4 file:

# cat /etc/X11/XF86Config-4
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't worklinux howto
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/usbmouse"
Option "ZAxisMapping" "4 5"
#Option "buttons" "5"
EndSection

Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
Option "EmulateWheel"
Option "EmulateWheelButton" "2"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "Flat Panel 1024x768"
HorizSync 31.5-48.5
VertRefresh 40-70

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
VendorName "Neomagic Corporation"
BoardName "NeoMagic 128XD"
Driver "neomagic"
Option "DPMS"
Option "XaaNoScanlineCPUToScreenColorExpandFill"

# Chipset "NM2160"
# IOBase 0xfea00000
# MemBase 0xfd000000
# VideoRam 2048
# DacSpeed 90
# Option "linear"
# Option "nolinear"
# Option "sw_cursor"
# Option "hw_cursor"
# Option "no_accel"
# Option "intern_disp"
# Option "extern_disp"
# Option "mmio"
# Option "no_mmio"
# Option "lcd_center"
# Option "no_stretch"
Option "XaaNoScanlineImageWriteRect"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 16

Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse2" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
Screen "screen1"
EndSection

before you go hog wild cutting/pasting note that all references to "Mouse1" are to a ms usb wireless intellimouse explorer that I sometimes plug in when I get tired of "da nubbin". If you don't use such a device eliminate the entire section titled "InputDevice" which contains "Mouse1" and the line in "ServerLayout" which references "Mouse1". Also, da nubbin is so much nicer w/tp4d installed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Modem issues wardialer Linux - Newbie 6 01-01-2005 06:21 PM
Thinkpad 600 sound issues starbum Fedora 1 05-07-2004 10:36 AM
thinkpad 600 mwave driver issues zenji Linux - Laptop and Netbook 1 12-21-2003 04:07 AM
TP 600 modem issues wvrhlu Linux - Hardware 0 05-28-2003 09:41 AM
Modem issues bengele Linux - Networking 4 04-29-2003 10:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 07:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration