Date: Mon, 29 Oct 2007 11:06:36 -0700
From: Andrew Sackville-West <andrew@farwestbilliards.com>
To: debian-user@lists.debian.org
Subject: Re: configuring an external usb mouse wiith x to dynamically
connect
Message-ID: <20071029180636.GZ1761@localhost.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="O2v8LnVIcZ+EDjcF"
Content-Disposition: inline
--O2v8LnVIcZ+EDjcF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sat, Oct 27, 2007 at 04:34:38AM +0200, Micha Feigin wrote:
> I have a thinkpad laptop with a trackpoint, touchpad and occasionally an
> external usb mouse. The laptop goes to sleep between uses so X isn't rest=
arted
> much. I want to be able to connect the mouse on occasions, when it was not
> connected when starting X, while still being able to give each device it'=
s own
> configuration.
>=20
> Theoretically I would define the touchpad to use /dev/input/mouse0, the
> trackppoint /dev/input/mouse1 and the usb mouse /dev/input/mouse2 (as the=
y do),
> but since mouse2 doesn't exist when X starts I can't connect it unless it=
was
> connected initially.
>=20
> I found a workaround of defining the trackpoint to use /dev/input/mice an=
d the
> touchpad /dev/input/mouse0 so that it can use the synaptic driver, but th=
at is
> not ideal as the trackpoint uses PS/2 or microsoftPS2 and the external mo=
use
> ImPs/2 (I hope I remember all of these correctly) and I also want differe=
nt
> options for the mouse and touchpad.
>=20
> Is that possible? Windows does it, so I Hope that the answer is yes ...
> Thanks
the things that occurs to me is maybe you can use gpm in repeater mode
to generate mouse events for X. Then use some udev hooks to respawn
gpm when you plug in the external mouse. Then do all the config within
gpm. just a thought.
I swear just yesterday I saw something about changing the mouse on the
fly, but I'll be damned if I can find it now.... :(
A
--O2v8LnVIcZ+EDjcF
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHJiEsaIeIEqwil4YRAhUzAJwPNlE/mduo/DHpotf7JUULBi/nGQCgwpQA
7tWjo28ag3UUD99Sk0ipjZY=
=dwTD
-----END PGP SIGNATURE-----
--O2v8LnVIcZ+EDjcF--
Date: Mon, 29 Oct 2007 10:30:05 -0700
From: Triskal <stefan.ploch@gmx.de>
To: debian-user@lists.debian.org
Subject: Problems with installing Debian Linux on a SATA hard disc
Message-ID: <1193679005.377105.71120@o3g2000hsb.googlegroups.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi there!
I did a search for my problem, but couldn't find the answer. If I
overlooked it, I apologize. Also, I'm quite new to Linux (I've used it
for LaTeX, but not much else, and I'm an absolute novice at installing
Linux.)
About my system:
- I have a Dell Dimension 5150 with a 320 GB SATA hard disc; on this
disk, there is Windows XP (three partitions on the hard disc).
- I bought a new internal hard disc (Samsung SATA2 160 GB
(HD160/1HJ)) to install Debian Linux on it (Sarge 3.1r0a, which came
on two DVDs which were part of one of the two main books in German on
Debian Linux).
The problem:
The installation program didn't recognize either of my two hard discs
(neither the one with Windows on it nor the new one): "no partitions
found".
Now, I'm currently downloading DVD iso images with Etch on it in the
hope that Etch can handle SATA hard discs (since Sarge could not). Is
there any point in doing this (i.e., does Etch still have the same
problems with SATA discs)? Or what should I do?
Please note that I'm still quite new to Linux. I have used it in the
past to compile LaTeX documents, but that's about it. And I have only
little experience with installing Linux.
Any help would be greatly appreciated. Thanks!
Date: Mon, 29 Oct 2007 17:31:08 -0000
From: Ed <doyleed@gmail.com>
To: debian-user@lists.debian.org
Subject: Re: alsaconf and printing
Message-ID: <13ic66smfm79ob0@corp.supernews.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
On Sun, 28 Oct 2007 14:50:10 +0100, Florian Kulzer wrote:
> On Sun, Oct 28, 2007 at 00:02:56 -0000, Ed wrote:
>> Hi,
>>=20
>> I am new to Debian but basically I have it running, with at least two
>> problems. The first is every time I reboot, I have to run alsaconf
>> before I can get any audio. I haven't noticed any place where I shoul=
d
>> save anything. Basically, I just bring up a terminal window, become
>> root, type alsaconf, follow the screens and eventually it tells me id
>> is done and to enjoy using it. Rhythmbox, for instance, then works
>> perfectly until I reboot. Then I have to run aslaconf again.
>=20
> This sounds like some modules do not get loaded automatically. You can
> run
>=20
> lsmod | grep snd
>=20
> to compare the situation before and after you run alsaconf. My guess is
> that snd_pcm_oss is missing. A quick test is to run
>=20
> modprobe snd_pcm_oss
>=20
> as root; this may restore your audio without running alsaconf. You can
> add missing modules to /etc/modules to have them loaded automatically a=
t
> boot time.
>=20
>> The 2nd problem is with printing. I have my printer connected to
>> another computer on my home network that is running samba. On the
>> debian computer, I choose Desktop->Administration->Printing and Add
>> Printer. I then follow all the screens (for windows printer (smb)) an=
d
>> it appears everything is fine. It sees my network and the computer the
>> printer is connected to and all seems well until I get to the last
>> screen. When I hit Apply, this windows closes, and only the original
>> Add printer window is open with no new printer icon. I am not sure
>> what is happening here. Other computers on my home network print fine
>> through the samba server.
>=20
> Check if the file /etc/cups/printers.conf exists; if it does exist then
> you should post it here so we can have a look. WATCH OUT: This file can
> contain clear-text usernames and passwords! Change those to generic
> placeholders ("USERNAME", "PASSWORD") before posting the file.
>=20
> --
> Regards, | http://users.icfo.es/Florian.Kulzer
> Florian |
Hi Florian,
Following your suggestions below completely fixed my alsa problems.
Now for the printing problem. I do have a file named /etc/cups/
printers.conf but it has no contents. This 'may' be related to another=20
problem I just discovered. If I log out of my user account and attempt=20
to log in with user name root and my root password, it won't let me. It=20
keeps re-displaying the enter user name screen. If I log in as a user,=20
and then issue a command with sudo in front of it, it asks for the=20
administrative password and I enter my root password that I entered=20
during the install process and it says invalid password please try=20
again. However, if I log in as a user, and then type su, when it asks=20
for password, I enter the same root password and it takes it. Getting=20
back to the printer, if I look at /var/log/cups/error.log - it says date-
--0400 CUPS-Add-Modify-Printer Unauthorized.
Not sure what to do about any of this. I thought I was very careful when=
=20
I did the initial install to enter twice the password I wanted for root,=20
and I'm quite sure I am entering that same password now.
So - 'maybe' the inability to set up cups printing to my samba printer is=
=20
somehow related to the root or administrative password irregularity. I=20
notice that printers.conf is owned by root and the group is lp. Only=20
root can write to it.
Thanks to anyone for any suggestions.
Ed Doyle
Date: Mon, 29 Oct 2007 11:16:23 -0700
From: Andrew Sackville-West <andrew@farwestbilliards.com>
To: debian-user@lists.debian.org
Subject: Re: Problems with installing Debian Linux on a SATA hard disc
Message-ID: <20071029181623.GD1761@localhost.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="XGa5gNSGTk93P04E"
Content-Disposition: inline
--XGa5gNSGTk93P04E
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Mon, Oct 29, 2007 at 10:30:05AM -0700, Triskal wrote:
> Hi there!
>=20
> I did a search for my problem, but couldn't find the answer. If I
> overlooked it, I apologize. Also, I'm quite new to Linux (I've used it
> for LaTeX, but not much else, and I'm an absolute novice at installing
> Linux.)
>=20
> About my system:
>=20
[snip description of SATA based system]
>=20
> The problem:
>=20
> The installation program didn't recognize either of my two hard discs
> (neither the one with Windows on it nor the new one): "no partitions
> found".
essentially, sarge didn't support SATA.
>=20
> Now, I'm currently downloading DVD iso images with Etch on it in the
> hope that Etch can handle SATA hard discs (since Sarge could not). Is
> there any point in doing this (i.e., does Etch still have the same
> problems with SATA discs)? Or what should I do?
etch has *much* better support for SATA, though there are still some
issues. You'll most likely have no problems though.=20
A
--XGa5gNSGTk93P04E
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHJiN3aIeIEqwil4YRAr/6AJ9zzExOCXQ7aU/7pdAiurVB9NPkKQCeMMUZ
YagpqBPuwdGRv1bl3Jm5bFo=
=rHFf
-----END PGP SIGNATURE-----
--XGa5gNSGTk93P04E--
Date: Mon, 29 Oct 2007 14:13:16 -0400
From: Sarunas Burdulis <sarunas@math.dartmouth.edu>
To: debian-user@lists.debian.org
Cc: debian-user@lists.debian.org
Subject: Re: Problems with installing Debian Linux on a SATA hard disc
Message-ID: <472622BC.1060408@math.dartmouth.edu>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Triskal wrote:
> Hi there!
>
> I did a search for my problem, but couldn't find the answer. If I
> overlooked it, I apologize. Also, I'm quite new to Linux (I've used it
> for LaTeX, but not much else, and I'm an absolute novice at installing
> Linux.)
>
> About my system:
>
> 1. I have a Dell Dimension 5150 with a 320 GB SATA hard disc; on this
> disk, there is Windows XP (three partitions on the hard disc).
>
> 2. I bought a new internal hard disc (Samsung SATA2 160 GB
> (HD160/1HJ)) to install Debian Linux on it (Sarge 3.1r0a, which came
> on two DVDs which were part of one of the two main books in German on
> Debian Linux).
>
> The problem:
>
> The installation program didn't recognize either of my two hard discs
> (neither the one with Windows on it nor the new one): "no partitions
> found".
>
> Now, I'm currently downloading DVD iso images with Etch on it in the
> hope that Etch can handle SATA hard discs (since Sarge could not). Is
> there any point in doing this (i.e., does Etch still have the same
> problems with SATA discs)? Or what should I do?
Instead of downloading DVD, you can download a much smaller "netinst" CD image. Even if you won't use it for net-install, it will give you an
idea of what hardware is recognized by Etch.
Sarunas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHJiK8ejaFVltl6E8RAqDBAKCBp85gw/L4uVpNWFNNhFL2Coiy7QCdGW6x
PYGKD6l2cD2szgrwHZ88mgg=
=oaAC
-----END PGP SIGNATURE-----
Date: Mon, 29 Oct 2007 19:29:39 +0100
From: Jonathan Kaye <jdkaye10@yahoo.es>
To: debian-user@lists.debian.org
Cc: debian-laptop@lists.debian.org
Subject: Re: sn9c102 webcam
Message-ID:
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
Ivan Glushkov wrote:
> Hi all,
>
> I got an old, cheap Qware EasyCam webcam. I have no idea what is the
> model. In the end it does not metter much. I followed the LDP "The
> Webcam HOWTO" on http://tldp.org/HOWTO/html_single/Webcam-HOWTO/
> Everything looks basically fine up to the point I try to get some
> information from my webcam. Trying to take a snapshot, I get:
<snip>
Hi Ivan,
I too have a sn9c102 webcam (Trust 120Spacecam) which works, more or less.
Remember this is a v4l2 device. My v4l-info output is like this:
### v4l2 device info [/dev/video0] ###
general info
VIDIOC_QUERYCAP
driver : "sn9c102"
card : "SN9C1xx PC Camera"
bus_info : "usb-0000:00:10.0-1"
version : 1.1.44
capabilities : 0x5000001
[VIDEO_CAPTURE,READWRITE,STREAMING]
standards
inputs
VIDIOC_ENUMINPUT(0)
index : 0
name : "Camera"
type : CAMERA
audioset : 0
tuner : 0
std : 0x0 []
status : 0x0 []
video capture
VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
index : 0
type : VIDEO_CAPTURE
flags : 0
description : "bayer rgb"
pixelformat : 0x31384142 [BA81]
VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE)
index : 1
type : VIDEO_CAPTURE
flags : 1
description : "compressed"
pixelformat : 0x30313953 [S910]
VIDIOC_G_FMT(VIDEO_CAPTURE)
type : VIDEO_CAPTURE
fmt.pix.width : 320
fmt.pix.height : 240
fmt.pix.pixelformat : 0x31384142 [BA81]
fmt.pix.field : NONE
fmt.pix.bytesperline : 320
fmt.pix.sizeimage : 76800
fmt.pix.colorspace : SRGB
fmt.pix.priv : 8
controls
VIDIOC_QUERYCTRL(PRIVATE_BASE+0)
id : 134217728
type : INTEGER
name : "DAC magnitude"
minimum : 0
maximum : 31
step : 1
default_value : 1
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+1)
id : 134217729
type : INTEGER
name : "green balance"
minimum : 0
maximum : 62
step : 2
default_value : 2
flags : 0
I can't get it to work with streamer either but I don't know much about
streamer and can't be arsed to learn.
The good news is that it does work with Ekiga and AMSN so you might give one
or the other of those programs a try.
Cheers,
Jonathan
--
Registerd Linux user #445917 at
http://counter.li.org/
Date: Mon, 29 Oct 2007 19:50:19 +0100
From: Florian Kulzer <florian.kulzer+debian@icfo.es>
To: debian-user@lists.debian.org
Subject: Re: alsaconf and printing
Message-ID: <20071029185019.GA13357@pc0197>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Mon, Oct 29, 2007 at 17:31:08 -0000, Ed wrote:
> On Sun, 28 Oct 2007 14:50:10 +0100, Florian Kulzer wrote:
> > On Sun, Oct 28, 2007 at 00:02:56 -0000, Ed wrote:
[...]
> >> The 2nd problem is with printing. I have my printer connected to
> >> another computer on my home network that is running samba. On the
> >> debian computer, I choose Desktop->Administration->Printing and Add
> >> Printer. I then follow all the screens (for windows printer (smb)) and
> >> it appears everything is fine. It sees my network and the computer the
> >> printer is connected to and all seems well until I get to the last
> >> screen. When I hit Apply, this windows closes, and only the original
> >> Add printer window is open with no new printer icon. I am not sure
> >> what is happening here. Other computers on my home network print fine
> >> through the samba server.
> >
> > Check if the file /etc/cups/printers.conf exists; if it does exist then
> > you should post it here so we can have a look. WATCH OUT: This file can
> > contain clear-text usernames and passwords! Change those to generic
> > placeholders ("USERNAME", "PASSWORD") before posting the file.
[...]
> Now for the printing problem. I do have a file named /etc/cups/
> printers.conf but it has no contents.
Something went wrong with the print manager if this file is empty.
> This 'may' be related to another
> problem I just discovered. If I log out of my user account and attempt
> to log in with user name root and my root password, it won't let me.
This is normal if you are using the graphical login for X/Gnome. Root
login for X is disabled by default because it is a security risk. To try
your root login, press and hold both CTRL and (left) ALT, then press F1.
This should take you to a text terminal where you can log in as root.
You can switch between terminals and graphical environment at any time
like this; you don't even have to log out to do it. (The terminals are
F1 to F6 and the graphical environment is F7.) To log out at the text
terminal again, type "exit" (without the quotes) and press ENTER.
> It
> keeps re-displaying the enter user name screen. If I log in as a user,
> and then issue a command with sudo in front of it, it asks for the
> administrative password and I enter my root password that I entered
> during the install process and it says invalid password please try
> again.
This is normal, too; sudo wants your user's password and not the one of
root. The purpose of sudo is to give someone the ability to run certain
commands as root without telling him/her the root password. (If this
person knows the root password then there is no control what he/she can
do to the system.) This is handy if a system is administered by several
persons with different tasks; each one of them can only do what they are
supposed to do and all sudo activity is logged.
The /etc/sudoers file determines which user can use which command with
sudo. (I don't recall what the Debian default is here; I customized my
sudoers file long ago.)
> However, if I log in as a user, and then type su, when it asks
> for password, I enter the same root password and it takes it.
This is also normal; "su" will really make you root and you can do
whatever you like on the system, therefore you have to know the root
password to use it.
> Getting
> back to the printer, if I look at /var/log/cups/error.log - it says date-
> time--0400 CUPS-Add-Modify-Printer Unauthorized.
I think the first thing to do is to add your user to the "lp" and the
"lpadmin" group, then you will be able to print and to add printers as
your normal user. The command for this is
adduser USERNAME lp
adduser USERNAME lpadmin
You have to run this as root and then you can check your success with
groups USERNAME
Afterwards you have to log out and in again to make the change
effective.
> Not sure what to do about any of this. I thought I was very careful when
> I did the initial install to enter twice the password I wanted for root,
> and I'm quite sure I am entering that same password now.
>
> So - 'maybe' the inability to set up cups printing to my samba printer is
> somehow related to the root or administrative password irregularity. I
> notice that printers.conf is owned by root and the group is lp. Only
> root can write to it.
I think there was a problem with your print manager. This may be
resolved by adding your user to those two groups, so you can simply try
again. If that fails you can also try the CUPS HTML frontend
http://localhost:631/
which can be accessed using any browser. Keep in mind that you will have
to provide two different sets of credentials: First you need username
and password for the print server, so that CUPS can authenticate you
whenever you print something, and then you need your local username and
password (or the one of root) because the cups daemon needs to modify
printers.conf. Cupsd can write to this file and it will accept your
normal credentials if you are member of the lpadmin group.
Post again if you get stuck; in the worst case we will simply give you a
working printers.conf for smb authentication (in which you will only
have to put your printer server, username and password) and tell you how
to install the driver manually.
--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |
Date: Mon, 29 Oct 2007 13:11:07 -0700
From: Andrew Sackville-West <andrew@farwestbilliards.com>
To: debian-user@lists.debian.org
Subject: Re: When I try to save html pages, nothing happens
Message-ID: <20071029201107.GO1761@localhost.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="22aa2PWZKnsI44rM"
Content-Disposition: inline
--22aa2PWZKnsI44rM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Mon, Oct 29, 2007 at 01:05:34PM -0700, tom arnall wrote:
> When I try to save html pages or whatever with firefox, nothing happens. =
(i=20
> recently screwed up the permissions on my system.) but if i start it as r=
oot=20
> ('sudo'), or use iceape, all is ok.
what specifically happens? do you get a save dialog at all? does it
seem to save but leave no file?=20
regardless of the above, based on your whole permissions history, I'd
say you should remove and reinstall firefox as a good starting point.=20
A
--22aa2PWZKnsI44rM
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHJj5baIeIEqwil4YRAnO/AJsHPqYvRgpJnv6T3v61gd5Hugy7UwCgrS8B
7auwNvmsnsVYF+xVR3FIkmw=
=5gQt
-----END PGP SIGNATURE-----
--22aa2PWZKnsI44rM--
Date: Mon, 29 Oct 2007 13:05:34 -0700
From: tom arnall <kloro2006@gmail.com>
To: debian-user@lists.debian.org
Subject: When I try to save html pages, nothing happens
Message-Id: <200710291305.34823.kloro2006@gmail.com>
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
When I try to save html pages or whatever with firefox, nothing happens. (i
recently screwed up the permissions on my system.) but if i start it as root
('sudo'), or use iceape, all is ok.
tom arnall
arcata
Date: Mon, 29 Oct 2007 21:03:35 +0100
From: Florian Lindner <mailinglists@xgm.de>
To: debian-user@lists.debian.org
Subject: getty error messages
Message-Id: <200710292103.35319.mailinglists@xgm.de>
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hello,
on my freshly installed server I have tons of messages like that in auth.log:
Oct 29 20:59:58 osiris getty[7708]: /dev/tty5: cannot open as standard input:
Permission denied
Oct 29 20:59:58 osiris getty[7709]: /dev/tty6: cannot open as standard input:
Permission denied
Oct 29 20:59:58 osiris getty[7710]: /dev/tty4: cannot open as standard input:
Permission denied
Oct 29 21:00:07 osiris getty[7792]: /dev/tty2: cannot open as standard input:
Permission denied
Oct 29 21:00:08 osiris getty[7793]: /dev/tty1: cannot open as standard input:
Permission denied
Oct 29 21:00:08 osiris getty[7794]: /dev/tty3: cannot open as standard input:
Permission denied
Oct 29 21:00:08 osiris getty[7795]: /dev/tty5: cannot open as standard input:
Permission denied
Oct 29 21:00:08 osiris getty[7796]: /dev/tty6: cannot open as standard input:
Permission denied
The server is a virtual server. What causes this and how to get rid of it?
Thanks,
Florian
End of debian-user-digest Digest V2007 Issue #2702
**************************************************
Received on Mon Oct 29 16:45:14 2007