Compaq Presario 1255 sound and touchpad under Debian?

2005-12-04 Thread high_desert
Can anybody help me get sound and the touchpad work under Debian on a Compaq
Presario 1255?

Firefox seems to handle flash better than Modzilla does - can I apt-get
remove "Modzilla Web Browser" and "Modzilla Composer" now?

I installed all the alsa stuff I could find to no avail. Part of the problem
is I am not sure what the sound hardware is. The Compaq site,
http://h10025.www1.hp.com/ewfrf/wc/document?dlc=en&lc=en&product=95000&lang=
en&cc=us&docname=c00255595, lists "JBL Pro Audio System" and "Aureal A3D
Interactive 360 degree Positional Sound."

The few Linux howtos I found for this model are gone:
Compaq Presario 1255: http://redir-error.gandi.net/ "Le site web demandé
n'existe pas."
Some for close model numbers exist...
Presario 1247: http://www.geocities.com/linux_vox/1247.html "The integrated
touchpad works w/o a hitch,..."
Presario 1247: http://www.io.com/~egabriel/presario1247.html "I am now using
Debian GNU/Linux, testing/unstable, with kernel 2.4.2. Not much has changed,
except I am now using ALSA for the sound. Just a matter of preference; the
2.4.2 via82xxx module works fine, as does the equivalent alsa module." "I
have read a lot about patches for other presarios for the touchpad; mine
works fine, so I have tried nothing; I just pretend it is a ps/2 mouse, all
works fine. That is to say, use /dev/psaux as your mouse device." "This is a
VIA82cxxx integrated sound device. You can change the settings for it in the
BIOS, but I'd just leave it. In the kernel you need to install the modu le
for VIA 82C686 Audio Codec. In your rc.local you can just modprobe via82cxxx
an d ac97codec."

I know the answers are probably right at my fingertips, but I'm sort of a
newbie with some of this,
- Zake


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: Compaq Presario 1255 sound and touchpad under Debian?

2005-12-04 Thread high_desert
--> Hi,
--> 
--> On Son, 04 Dez 2005, high_desert wrote:
--> 
--> high_desert please use your Realname.

Zake. I did sign Zake; however I use this eddress for everything non-personal, 
places that spam me, etc

--> > Can anybody help me get sound and the touchpad work under 
--> Debian on a Compaq
--> > Presario 1255?
--> > Firefox seems to handle flash better than Modzilla does - can 
--> I apt-get
--> > remove "Modzilla Web Browser" and "Modzilla Composer" now?
--> 
--> sure you can.

Thanks - after I posted I figured the tools would tell me if these were 
depended upon by other modules - I'll give this a try later.

--> > I installed all the alsa stuff I could find to no avail. Part 
--> of the problem
--> > is I am not sure what the sound hardware is. The Compaq site,
--> > 
--> http://h10025.www1.hp.com/ewfrf/wc/document?dlc=en&lc=en&product
--> =95000&lang=
--> > en&cc=us&docname=c00255595, lists "JBL Pro Audio System" and 
--> "Aureal A3D
--> > Interactive 360 degree Positional Sound."
--> 
--> please post the output of
--> lspci

:00:00.0 Host bridge: OPTi Inc. 82C701 [FireStar Plus] (rev 32)
:00:01.0 ISA bridge: OPTi Inc. 82C700 [FireStar] (rev 31)
:00:0a.0 CardBus bridge: Texas Instruments PCI1131 (rev 01)
:00:0a.1 CardBus bridge: Texas Instruments PCI1131 (rev 01)
:00:12.0 VGA compatible controller: Neomagic Corporation NM2160 [MagicGraph 
128XD] (rev 01)
:00:13.0 USB Controller: OPTi Inc. 82C861 (rev 10)
:00:14.0 IDE interface: OPTi Inc. 82C825 [Firebridge 2] (rev 30)

--> and
--> lsmod

Module  Size  Used byNot tainted
apm 8428   1  (autoclean)
3c574_cs7796   1
ds  5844   2  [3c574_cs]
af_packet  11048   1  (autoclean)
mousedev3604   1
hid19076   0  (unused)
input   3040   0  [mousedev hid]
usb-ohci   16488   0  (unused)
usbcore52268   1  [hid usb-ohci]
ide-scsi8272   0
scsi_mod   86052   1  [ide-scsi]
yenta_socket8804   2
pcmcia_core38020   0  [3c574_cs ds yenta_socket]
ide-cd 27072   0
cdrom  26212   0  [ide-cd]
rtc 5768   0  (autoclean)
ext3   65388   1  (autoclean)
jbd34628   1  (autoclean) [ext3]
ide-detect   288   0  (autoclean) (unused)
opti621 2060   1  (autoclean)
ide-disk   12448   2  (autoclean)
ide-core   91832   2  (autoclean) [ide-scsi ide-cd ide-detect 
opti621 ide-disk]
unix   12752  23  (autoclean)

--> and
--> cat /proc/asound/devices

I don't have a /proc/asound directory...

--> > I know the answers are probably right at my fingertips, but 
--> I'm sort of a
--> > newbie with some of this,
--> make sure you have installed hotplug or udev (it depends what 
--> distribution
--> you want to use testing/stable/unstable)
--> 
--> -- 
--> Florian Reitmeir



RE: Compaq Presario 1255 sound and touchpad under Debian?

2005-12-05 Thread high_desert
--> From: Florian Reitmeir [mailto:[EMAIL PROTECTED]
--> Sent: Monday, December 05, 2005 5:17 AM

--> > --> > Firefox seems to handle flash better than Modzilla does - can I 
apt-get
--> > --> > remove "Modzilla Web Browser" and "Modzilla Composer" now?
--> > --> sure you can.
--> > Thanks - after I posted I figured the tools would tell me if 
--> > these were depended upon by other modules - I'll give this a try later.
--> > apt-get remove 

Couldn't figure out what to remove - seemed like anything I found and choose 
had dependencies that would remove core things that Firefox uses. Maybe I just 
need to remove the aliases to the Modzilla Web Browser... Are there specific 
packages to remove?

--> > --> please post the output of
--> > --> lspci
--> > 
--> There is no soundcard listet here. So your card is a non PCI, 
--> which means in
--> this case it is an ISA card. So you have to try.. 
--> 
--> in the dir /lib/modules//kernel/sound/isa/
--> should be some modules.. 

Don't have the sound directory, just
/lib/modules/2.4.27-2-386/kernel

--> you can load them using modprobe, and with dmesg you can 
--> control if it was
--> successfully. 
--> 
--> so no ALSA is loaded. If a module is loaded and a soundcard 
--> found, it file
--> should exsist and populated with the alsa devices.


--> From: Adrien Caillot [mailto:[EMAIL PROTECTED]
--> Sent: Monday, December 05, 2005 6:05 AM
--> Windows said it was an "ESS Audiodrive 1869".
--> 
--> It works with my 2.4.27 kernel with the "sb" module :
--> modprobe sb irq=5

okay - seems like great information - but how do I use that to get my sound to 
work?

#modprobe sb irq=5

#dmesg

last few lines returned are
...
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
sb: No ISAPnP cards found, trying standard ones...
SB 3.01 detected OK (220)
ESS chip ES1869 detected
#

Got a .wav file to play! But the volume control in the GUI stays stuck and 
returns to zero by itself - and there is no sound from web pages in Firefox. 
Will try again tomarrow.

--> For the touchpad, I just said to Xfree that it was a PS/2 mouse and it 
--> works well.

I think maybe I'm being to optimistic. I have a USB mouse plugged in and was 
expecting both the touchpad and that to both work at the same time. Should the 
USB mouse be hot swappable? The touchpad and the USB mouse both work but 
mutually exclusive?

Thanks!
- Zake



Debian repair reload drama howto?

2006-01-15 Thread high_desert
Had a Debian file and print server running for like two years, serving a
handful of home Linux, MAC, and Windows clients. December I upgraded the OS
and apps all to the latest stable version. The only thing I can think I did
‘sub-optimally’ was run the entire process via ssh (the server is an older
laptop and was shoved in behind some printers on a shelf where it was very
uncomfortable to open it and balance it and type…) and one prompt for the
kernel or PCMCIA or NIC drivers asked if I wanted to skip restarting
something – I said not to restart it, as I wasn’t clear if I could
reestablish the ssh session to finish the upgrade. There was some message
about possibly corrupting something – but no back out options, so… Anyway it
now boots to “LI”. While I saw references here and there to rescue disks I
didn’t find any for the current Debian version, and the few homemade ones I
found didn’t work. Pulled the network card to see if that would bypass the
blockage. Though I think I booted off CD before, it won’t do it now. Nothing
in the BIOS on that either. Physically it can house either a CD or a
floppy – not both at once. I tried booting for repair / reinstall via
network floppies, but it won’t load the NIC floppy. Tried different media
and download sites to no avail. Now it’s been sitting for a new weeks, dead.
Figured I’d revisit this three day weekend. I can recreate the CUPS/SWAT
config, user names, etc.. All the files on there are also stored in at least
one other place.

Now I was thinking of pulling the hard drive and copying whatever onto it
and then returning it to the laptop and booting it, to then load a new OS. I
have the hard drive out and in an external USB hard drive thing.

Question: What do I copy onto it to do this?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian repair reload drama howto?

2006-01-16 Thread high_desert
Thanks for the replies!
Just posting an update while I try stuff and search for more help on-line as
needed.
Got the tomsrtbt floppy and booted off it (unable to create this floppy from
Windows as there is no true DOS mode anymore - why doesn't a rawrite version
exist?)
Figure I'll go in there and chroot and re lilo it. I see both those commands
are part of the tomsrtbt floppy suite - now just to figure out the actual
sequence and syntax.
- Zake


--> From: Jeff Ballard [mailto:[EMAIL PROTECTED]
--> Sent: Sunday, January 15, 2006 2:50 PM
-->
--> Most certainly the cause of this was not re-running lilo.
-->
--> Basically all you have to do is boot the thing, mount it,
--> chroot to where you
--> mounted it, and type "lilo".  Of course, given your issues with
--> getting media
--> loaded, that's going to be a tricky bit, but if you can get
--> past that you
--> certainly shouldn't need to reinstall.
-->
--> -Jeff


--> From: Uncurbed
--> Sent: Sunday, January 15, 2006 2:28 PM
-->
--> From: Andrei Popescu [mailto:[EMAIL PROTECTED]
--> Sent: Sunday, January 15, 2006 3:18 PM
-->
--> If you have another linux box (or a Knoppix CD) you might want
--> to try chrooting into you install and repairing it. A
--> dpkg-reconfigure kernel-image... might help. If it works and
--> you can boot again it might be that you need to repeat this to
--> rebuild the initrd, but i'm only guessing (it won't hurt anyway).
-->
--> If you need some basic pointers for the chroot i can help.
-->
--> Good luck
--> Andrei


--> From: Uncurbed
--> Sent: Sunday, January 15, 2006 2:28 PM
--> Seems like the LILO bootloader is corrupt, you any Knoppix cd and fix
--> the MBR, if you don't have a CD try 'tomsrtbt' (a boot floppy
--> with Linux on)




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: Debian repair reload drama howto?

2006-01-16 Thread high_desert
My LILO RECOVERY

http://www.toms.net/rb/
http://www.linuxdocs.org/HOWTOs/LILO-crash-rescue-HOWTO-1.html

1.  downloaded, uncompressed, installed to floppy, tomsrtbt
2.  booted box off tomsrtbt floppy
3.  fdisk -l (to see which device is boot and which is /)
4.  mkdir rootpartition
5.  mount /dev/hda1 /rootpartition
6.  cat /rootpartition/etc/fstab (to see if /boot, /usr, /var, etc. are on
other partitions)
7.  mount /dev/hda3 /rootpartition/home/share
8.  vi /etc/fstab
a.  added lines:
b.  /dev/hda1 /rootpartition ext2 1 1
c.  /dev/hda3 /rootpartition/home/share ext2 1 1
9.  cat /etc/fstab (to check vi)
10. mount -a
11. chroot /rootpartition /sbin/lilo -q
12. man chroot
13. chroot /rootpartition /sbin/lilo
a.  Warning: '/proc/partitions' does not exist, disk scan bypassed
b.  Added Linux *
c.  Skipping vmlinuz.old
14. exit
15. hard reboot

SUCCESS! Now I don't have to recreate my CUPS, SWAT, fileshare, and SAMBA
WiNS and PDCE stuff!
Thanks for the pointers, great ideas, and bonus info
debian-laptop@lists.debian.org


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: Debian repair reload drama howto?

2006-01-16 Thread high_desert

--> > Got the tomsrtbt floppy and booted off it (unable to create
--> this floppy from
--> > Windows as there is no true DOS mode anymore - why doesn't a
--> rawrite version
--> > exist?)
-->
--> Taken from http://uranus.it.swin.edu.au/~jn/linux/rawwrite.htm
-->
--> "rawwrite (or rawrite) is the essential utility for creating
--> boot and root disks for installing Linux. Unfortunately, it
--> required DOS to operate, so here is the long awaited WIN32
--> version. It works under Windows NT, 2K, XP, 95, 98 and ME."


Yeah, but wouldn't the tomsrtbt need to exist as an image file which the W32
rawrite could understand and use?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: Debian repair reload drama howto?

2006-01-16 Thread high_desert

--> I restored a lilo like this (the # means a root console):
-->
--> #mount -o rw /dev/hda2 /mnt/hda2
--> #mount -o bind /dev /mnt/hda2/dev
--> #chroot /mnt/hda2
--> #mount /proc
--> #lilo
-->
--> This was on a Xandros so YMMV... Just replace hda2 with your
--> root partition. Also, if you have more than just one partition
--> for the system you might need to mount those as well. You will
--> need to, at least, have access to /etc and /sbin, but other
--> directories might be needed as well
-->
--> Andrei


Interesting. I don't pretend to understand chroot. I think I vaguely get
lilo, you rerun it to setup the config files btwn MBR and the kernel.

Fortunately I got through the LILO-crash-rescue-HOWTO-1 without hosing or
losing anything (that I noticed so far.) This howto states that, "It is very
strongly recommended that you use chroot, instead of lilo -r, as it is more
convenient and can catch errors more easily." It hardly seems more
convenient, but I did it anyway. In your example above, what does the "mount
/proc" do? I'm assuming none of the ramdisk fstab edits are needed as the
chroot and the lilo commands simply use the existing correct lilo conf files
to reset/repair stuff?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



SSH and SWAT open / listening?

2006-01-21 Thread high_desert
After I re-lilo'ed the box with the help of this list I sent a printjob
successfully from a Windows box on the network. Also was and am able to see
the Debian laptop on the network in the Windows nethood. However now after a
reboot (cabling change etc.) I can't print to it. Can't open SWAT from the
browser on the Windows box. Can ping both ways. Was able to authenticate to
SAMBA, but can't SSH. I guess some of the hundreds of upgrades changed some
config files and moved stuff around. I recall a bunch of prompts asking
about keeping scripts or going with the package maintainer's new configs - I
choose to upgrade on all of these. I'm guessing something network/firewall-y
changed. Poked around in all the config and log files I could remember to
look at and that I found. Everything looks good...

What do I run/view to see if SSH and SWAT all open / listening?

netstat -a shows swat listening but I don't see ssh there.

/etc/shh/sshd_config looks okay

/etc/network/interfaces looks fine

can I re-run the swat and sshd setups?

After I get my ssh and swat and samba's hp1200 on lpt1 working my next
challenge is to get the USB working and share a Epson printer off that :-)

Below is a sort of extra background...

TIA,
- Zake


--> From: high_desert [mailto:[EMAIL PROTECTED]
--> Sent: Monday, January 16, 2006 4:02 PM
--> To: Debian Laptop Listserv
--> Subject: RE: Debian repair reload drama howto?
-->
-->
--> My LILO RECOVERY
-->
--> http://www.toms.net/rb/
--> http://www.linuxdocs.org/HOWTOs/LILO-crash-rescue-HOWTO-1.html
-->
--> 1.  downloaded, uncompressed, installed to floppy, tomsrtbt
--> 2.  booted box off tomsrtbt floppy
--> 3.  fdisk -l (to see which device is boot and which is /)
--> 4.  mkdir rootpartition
--> 5.  mount /dev/hda1 /rootpartition
--> 6.  cat /rootpartition/etc/fstab (to see if /boot, /usr, /var,
--> etc. are on
--> other partitions)
--> 7.  mount /dev/hda3 /rootpartition/home/share
--> 8.  vi /etc/fstab
--> a.  added lines:
--> b.  /dev/hda1 /rootpartition ext2 1 1
--> c.  /dev/hda3 /rootpartition/home/share ext2 1 1
--> 9.  cat /etc/fstab (to check vi)
--> 10. mount -a
--> 11. chroot /rootpartition /sbin/lilo -q
--> 12. man chroot
--> 13. chroot /rootpartition /sbin/lilo
--> a.  Warning: '/proc/partitions' does not exist, disk scan bypassed
--> b.  Added Linux *
--> c.  Skipping vmlinuz.old
--> 14. exit
--> 15. hard reboot
-->
--> SUCCESS! Now I don't have to recreate my CUPS, SWAT, fileshare,
--> and SAMBA
--> WiNS and PDCE stuff!
--> Thanks for the pointers, great ideas, and bonus info
--> debian-laptop@lists.debian.org



--> -Original Message-
--> From: high_desert [mailto:[EMAIL PROTECTED]
--> Sent: Sunday, January 15, 2006 1:13 PM
--> To: Debian Laptop Listserv
--> Subject: Debian repair reload drama howto?
-->
-->
--> Had a Debian file and print server running for like two years, serving a
--> handful of home Linux, MAC, and Windows clients. December I
--> upgraded the OS
--> and apps all to the latest stable version. The only thing I can
--> think I did
--> 'sub-optimally' was run the entire process via ssh (the server
--> is an older
--> laptop and was shoved in behind some printers on a shelf where
--> it was very
--> uncomfortable to open it and balance it and type.) and one
--> prompt for the
--> kernel or PCMCIA or NIC drivers asked if I wanted to skip restarting
--> something - I said not to restart it, as I wasn't clear if I could
--> reestablish the ssh session to finish the upgrade. There was
--> some message
--> about possibly corrupting something - but no back out options,
--> so. Anyway it
--> now boots to "LI". While I saw references here and there to
--> rescue disks I
--> didn't find any for the current Debian version, and the few
--> homemade ones I
--> found didn't work. Pulled the network card to see if that would
--> bypass the
--> blockage. Though I think I booted off CD before, it won't do it
--> now. Nothing
--> in the BIOS on that either. Physically it can house either a CD or a
--> floppy - not both at once. I tried booting for repair / reinstall via
--> network floppies, but it won't load the NIC floppy. Tried
--> different media
--> and download sites to no avail. Now it's been sitting for a new
--> weeks, dead.
--> Figured I'd revisit this three day weekend. I can recreate the CUPS/SWAT
--> config, user names, etc.. All the files on there are also
--> stored in at least
--> one other place.
-->
--> Now I was thinking of pulling the hard drive and copying
--> whatever onto it
--> and then returning it to the laptop and booting it, to then
--> load a new OS. I
--> have the hard drive out and in an external USB hard drive thing.
-->
--> Question: What do I copy onto it to do this?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]