Thursday·21·September·2006
IrDA and Sound on the IBM ThinkPad 760ED //at 04:19 //by abe
Since I currently have Debian Sarge and a quite actual kernel (2.6.17.13) successfully running on my 10 years old Pentium-1-ThinkPad bijou, I today thought I could see, if I get the builtin infrared port working.
Since lspci and lshw didn’t help much to find out the details about the IR port, I looked at Werner Heuser’s tuxmobil for such information. And I was right: tuxmobil listed all the necessary informations:
It’s an internal serial port infrared device on /dev/ttyS0 working without any special driver. It seems to only need the kernel modules irda, sir_dev and irtty_sir as well as probably also the Debian package irda-utils.
I could immediately play around with gnokii after configuring it ot use the right serial port and the right drivers for my Nokia 6310i. Also sending SMS via xgnokii worked.
It was funny to be able to play ringtones on the phone by clicking around on a virtual piano keyboard.
Inebriated by the success with IrDA, I decided to go on and try myself with the notorious Mwave DSP sound and modem card, which came with some of the ThinkPad 760 versions including my ED version.
This didn’t start as easy as IrDA since tuxmobil this time writes: But MWave and some other sound technologies won’t work or are very hard to get working, e.g. booting to DOS, loading a driver, then using the soundcard as a standard SB-PRO. So you might need a commercial sound driver.
Well, I too often noticed that negative information about hardware support in Linux found on the net with a search engine often is outdated and the formerly badly missed hardware support is available nowadays.
So even not giving up on a 404 for a promising site, I found the no more existing webpage of the Mwave Project for Linux in the WayBack Archive. There I found a still working link to Thomas Hood’s Debian GNU/Linux on IBM ThinkPad 600X page which mentions tpctl, the ThinkPad configuration tools for Linux. And happily, they’re included in Sarge as package tpctl. Another link still worked, too: The one to Dale Wick’s Thinkpad under Linux page, which tell’s what I’ve expected: Some of the information on tuxmobil seems to be outdated, although Dave’s page mainly concerns the modem functionality of the Mwave DSP.
So I first installed tpctl on bijou, then tried to compile the ThinkPad kernel modules from package thinkpad-source with my both current kernels, 2.4.33.3 and 2.6.17.13 using make-kpkg. The modules built fine for the 2.4 series kernel, but failed on the two latest 2.6 kernels (2.6.17.13 and 2.6.18), I’m mainly running. So I switched over to playing around with the 2.4.33.3 kernel.
The thinkpad modules loaded fine and I get access to a lot of the ThinkPad’s special hardware. But tpctl at least doesn’t work as expected regarding Standby and Suspend: It has no effect while requesting Suspend or Standby using apm still works fine. But nothing to see in direction sound, modem or mwave.
So I had a closer look at documentation around the mwave module. Tried to find out appropriate I/O and IRQ settings for the module, but what I found in the Linux ACP Modem (Mwave) mini-HOWTO didn’t help. The module just didn’t load.
Then I noticed that module seems to need an mwave daemon. A search in the Debian package repository found the package mwavem. No long thinking – installed it. But the installation script gave the same errors when trying to load the module.
man mwavem(8) gave the reason: Only the 3780i chip is supported. Earlier Mwave DSPs, which were used for sound generation as well as modem functionality, are not supported.
Also according to the kernel documentation for the mwave sound module, the only way to get it making some sounds seems to be to boot to DOS, load the Windows 95 drivers, then call loadlin and warm-boot Linux from DOS.
So native Mwave sound on IBM 760 ThinkPads under Linux is really still a dream while the Mwave modem is said to work nowadays.
I will continue my ThinkPad 760 journey with a closer look at the pcspkr driver and at eBay, where I’ll look for another 760 series ThinkPad, but with ESS1688 soundcard and no modem instead of the Mwave DSP, e.g. a 760L, 760LD, 760EL, 760ELD or maybe also a 765L.
But I won’t do that today. It’s already much too late. Should have gone to bed about two hours ago…
Now playing: Auld Lang Syne (monophonic on the phone :-)
Tagged as: 2.4.33.3, 2.6.17.13, 2.6.18, bijou, Debian, DOS, eBay, gnokii, Infrared, IrDA, Linux, Mwave, Nokia, Nokia 6310i, Pentium I, Sarge, ThinkPad
// show without comments // write a comment
Related stories
Yet another old laptop //at 04:13 //by abe
My father got me a nice IBM ThinkPad from 1996 earlier this year, so the next old laptop he digged up was planned to become a christmas present for my brother. But my father didn’t manage to find out, how old nor how fast that laptop was. And when I found out that it was a Pentium I with 90 MHz, it was clear, that my brother wouldn’t have any use for it, so he got “only” the used 850 MHz AMD Duron midi tower and my parents declared that old Compaq LTE 5100 laptop as a christmas present for me. :-)
As my IBM ThinkPad bijou, this Compaq LTE 5100 is from 1996 and has a Pentium I processor. Both also have a 800×600 resolution, a double PCMCIA slot and a floppy drive, which can be replaced by a CD-ROM drive (if I had one). But that are all similarities. Technically the Compaq has 90 MHz instead of the ThinkPad’s 133 MHz, but therefore has 72 MB RAM in comparison to the 48 Megs the ThinkPad has. Also regarding disk space the Compaq outperforms the ThinkPad: 1.6 Gigs of disk space in comparison to the ThinkPad 1.0 GB hard disk. Another difference is the battery: While the ThinkPad can work over 2.5 hours without external power, the Compaq even didn’t manage to completely boot its currently installed Windows 98 (the ThinkPad had a Windows NT installed when I got it) when running on battery. (Will do that test again when I can confirm, that the battery was full before testing. :-) Yet another difference is the keyboard layout: The ThinkPad has an US layout while the Compaq has a Swiss-German layout. But the most obvious difference is the look: The black ThinkPad still looks like having a modern design while the Compaq looks very very outdated in its perfect computer beige and with its quite small display.
So retroperspectively, it was a good a idea to name the ThinkPad “bijou” (French for jewel, jewellery, gem, etc.; named after a very neat british two-door limousine built in the UK by Slough on a 2CV base during the ’50s). Because now I have the choice between a lot of not so nice looking (not to say ugly ;-) 2CV derivatives to name the Compaq after. My favourites currently are the Iranian “Baby Brousse”, the Greek “Namco Pony” and the German “Fiberfab Sherpa”, all canvas and flatbed style 2CV based buggies, similar to the original Citroën Méhari but with steel body instead of the Méhari’s controversial plastic body. And one of the not used names, I can use for further ugly Compaq laptops¹.
Another question yet to answer is the question of what operating system to install on it. Since the ThinkPad runs fine with Debian 3.0 Woody and I have a lot of other Debian boxes at home (running Woody, Sarge or Sid), I currently think about installing the very fresh NetBSD 3.0 (released on Christmas’ Eve 2005), FreeBSD 6.0 (released early November 2005), DragonFly BSD 1.4 (to be released in December :-) or DeLi Linux 0.7 pre (which was also released in early December 2005 and already uses X11R7). Another idea was to install grml 0.5, but since grml is a live CD distribution, it probably would be hard to install it over network. Same counts for ReactOS (version 0.2.9 was released shortly before Christmas 2005), which doesn’t seem to have a floppy disk plus network install. Since I always planed to upgrade my currently defective Toshiba T6400 i486 laptop ayca (maybe after getting an organ donor on eBay or so) to DeLi Linux 0.7 (and perhaps write a review about it for Linux Magazine or so) and I may get an Sun Ultra Enterprise 2 soon (on which NetBSD 3.0 would be the perfect OS since Linux’ performance still seems to suck on Sparc :-), I currently prefer the FreeBSD or DragonFly idea. If the Ultra doesn’t come, it probably will get NetBSD, since I haven’t a NetBSD box yet. (Haven’t a DragonFly box either, but a FreeBSD 4.x running somewhere. :-)
Well, I guess, I’ll take even more old laptops than last year to the Vintage Computer Festival Europe (VCFe) in Munich next May. And since the two 1996 laptops are now 10 years old, they’re even ontopic! Yeah! ;-)
¹: I have two other not yet working Compaq
laptops, both from an elder generation than Pentium I. One I got on
a Swiss flea market for a few euros and the other was the first laptop
of my boss, which he else would have thrown away. Unfortunately both
are without power adapter and neither the usual allround laptop power
adapters from Conrad, etc. nor the one from the LTE 5100 fits. But
since there is eBay, I expect to get such a power adapter once. :-)
Tagged as: 2CV, ayca, Baby Brousse, bijou, BSD, Compaq, DeLi Linux, DragonFly BSD, eBay, Fiberfab Sherpa, FreeBSD, grml, Hardware, IBM, Laptop, Linux, München, Namco Pony, NetBSD, Pentium I, pony, ReactOS, Sarge, Sid, ThinkPad, Toshiba, UltraSparc, VCFe, Vintage, X
// show without comments // write a comment
Related stories
Saturday·11·March·2006
Some new old non-x86 hardware //at 16:39 //by abe
Because dyfa and dwalin are moving they had some old hardware (but not only hardware) to give away.
I got from them an old HP Apollo 9000 Series 400 Model 400t from 1990 (with an MC68040 processor like some Amigas had, 24 MB RAM and some 1992 HP-UX as operating system), which I decided to call »tub« (“Le TUB” was the prototype of the Citroën HY), a Sun Sparcstation IPC (which I decided to call »acadiane«) and two terminals, one true DEC VT320 and one VT100 compatible.
The IPC unfortunately seems to have a defect power supply, so I probably have to look around at eBay a little bit. The Apollo boots fine and probably also had the correct date in the hardware clock, but the software didn’t accept it. So it asked for the current date. Went fine. Until it asked me for the current year:
WARNING: bad date in real-time clock--check and reset the date [...] _______________________________________________________________________________ You will be prompted for the daten and time. Please enter all values numerically, for example January is 1. The values in the paraenthesis give the acceptable range of responses. _______________________________________________________________________________ Please enter the month (1-12), then press [Return] 9 Please enter the day of the month (1-31), then press [Return] 28 Please enter the last two digits of the year (70-99), then press [Return] 05 Value out of range. Please try again. Please enter the last two digits of the year (70-99), then press [Return]
Using cal
, I found out that 1977 has
exactly the same calendar as 2005 and is in the same distance to the
leap years. So I set the year to 77.
Yet another case of programmers not believing how long their software will run. And this box was only ten years old when Y2K came — some parts of the operating system on it even only eight years… Well, I hope, that’s history when NetBSD runs on that box.
Haven’t tested the the terminals yet, although I don’t expect any Y2K issues with them. ;-)
Now playing: Roxette
— Real Sugar
Tagged as: acadiane, Apollo, BSD, DEC, eBay, Hardware, HP, IPC, m68k, NetBSD, Now Playing, Other Blogs, RISC, Sparc, Sun, Terminal, tub, Vintage, VT100, VT320, Y2K
// show without comments // write a comment
Related stories
Thursday·02·March·2006
I changed my mind. I want a camera mobile phone. //at 02:29 //by abe
Today I read and wrote about Semapedia, a service respective toolset to encode Wikipedia URLs (and also others) as dot-matrix barcode, print them out on leaflets together with mentioning Wikipedia and the URL. Then any visitor with a modern camera cell phone can take an image of the barcode, decode it with the right software on your phone, which passes the decoded URL directly to the phones webbrowser.
This is the first useful application of camera phones I ever heard about. But I see it as so useful that I may consider buying me a camera cell phone with the next contract renewal, although until now, I focused all my search for a worthy successor to my Nokia 6310i on non-camera phones. (Update: And I’m not alone with the wish for a useful mobile phone.)
The 6310i had nearly everything I needed: A big memory, long standby times (1.5 to 2 weeks), WAP incl. WAP browser for reading Symlink on the road, GPRS, GSM 900/1800, T9, Infrared, gnokii support, the same battery bay than my former mobile phones (Nokia 6210 and 6130) and the Nokia typical, very intuïtive and blindly usable user interface. (Siemens mobiles suck!). It also had some things, I didn’t need yet, but sounded useful: Voice dialing and voice recording, Java for playing with own programs, Bluetooth for a cableless headset or so and GSM-1900 because perhaps also other countries than the USA use that frequency band. (I refuse to travel to the USA, so I won’t need the GSM-1900 there.)
It had nothing I didn’t want to have in a mobile phone: Camera, radio, MP3 player, standby time munching color display, e-mail client, MMS, MP3 ring tones or flip covers. The only thing I missed, was a more modern Java VM and even more memory when Opera Mini came out and maybe polyphone ring tones, so I could have the Monkey Island theme as ring tone. ;-)
So what now? Being able to use Opera Mini and Semapedia means to have a mobile phone with camera and — and that’s the drawback — a color display. Anyone knows a Nokia camera phone on which Opera Mini runs but without color display? And with the battery bay from the 6x10 series? No?
Or maybe I should just stay with the 6310i and get me a second one in
better condition (no broken case) from eBay or so? There were also
(yet unconfirmed) rumours that my GSM provider E-Plus will have the
Linux based internet tablet Nokia 770 for a contract renewal plus 80€ to
90€… Difficult decision…
Tagged as: DigiCam, eBay, Fläsch, GPRS, GSM, Händi, Java, Mobile Phone, Monkey Island, MP3, Nokia, Nokia 6130, Nokia 6210, Nokia 6310i, Nokia 770, Opera, Symlink, USA, WAP, Wikipedia
// show without comments // write a comment
Related stories
eBay with meat //at 02:03 //by abe
Stumbled over KoLBay at koltrade.com today when shopping at some store (forgot which) in the KoL mall. It just seems like eBay (only even more colorful ;-), but you bid with your KoL meat instead of money. Sounds funny somehow although I don’t know what I should think of those auctions outside the game. There are also KoL items or even whole KoL accounts offered at the real eBay sometimes.
Now playing: Newsboys — In The Belly Of The Whale (Veggie Tales, Jonah
Soundtrack)
Tagged as: eBay, Kingdom of Loathing, Now Playing
// show without comments // write a comment