Re: Sound, printing and cdrw

2001-08-21 Thread Brice D Ruth

I run in runlevel 5 and switching between VTs works fine - even w/ MOL. 
 Since I have linux keycodes enabled, ctrl-alt(option)-Fx does the trick 
for me, previously, ctrl-command-Fx was necessary.

This is on beta1, not RC1 - still haven't taken the time to do that ... 
still haven't taken the time to update Mac OS X, either ... *blech* too 
much work!

-Brice

[EMAIL PROTECTED] wrote:

On Mon, 20 Aug 2001, Jeff Hergan wrote:

On Monday 20 August 2001 09:13, Brice D Ruth wrote:

The problem doesn't seem to be the driver, in this case - it appears to
be the format that the data is sent to the printer.  From what Vincent
wrote, the USB system picks up the wrong format to send the data - hence
the problem.

That's right.
And the solution is to rebuild the kernel with
a minor hack on printer.c.
But if the make modules part of the kernel build fails...
well, you're just outta luck.  And that's what's happening to me.


Seems the kver stuff from the original kernel build is the issue.  I was
getting the same error here on a clean kernel install:

rm -f /usr/src/linux/include/linux/modules/*
make dep
make vmlinux
make modules

seems to do the trick

rpm -e kernel-source and rpm -i:

or more traditionally:

make mrproper
make menuconfig
make dep
make vmlinux
make modules

also seems to work

BTW - I switch back and forth from the VT to X fine using XFree - I think
when running runlevel 5 though, it kills your X session.

Stew Benedict










Re: Sound, printing and cdrw

2001-08-21 Thread sbenedict


On Mon, 20 Aug 2001, Jeff Hergan wrote:

 On Monday 20 August 2001 09:13, Brice D Ruth wrote:
  The problem doesn't seem to be the driver, in this case - it appears to
  be the format that the data is sent to the printer.  From what Vincent
  wrote, the USB system picks up the wrong format to send the data - hence
  the problem.
 
 That's right.
 And the solution is to rebuild the kernel with
 a minor hack on printer.c.
 But if the make modules part of the kernel build fails...
 well, you're just outta luck.  And that's what's happening to me.


Seems the kver stuff from the original kernel build is the issue.  I was
getting the same error here on a clean kernel install:

rm -f /usr/src/linux/include/linux/modules/*
make dep
make vmlinux
make modules

seems to do the trick

rpm -e kernel-source and rpm -i:

or more traditionally:

make mrproper
make menuconfig
make dep
make vmlinux
make modules

also seems to work

BTW - I switch back and forth from the VT to X fine using XFree - I think
when running runlevel 5 though, it kills your X session.

Stew Benedict







Re: Sound, printing and cdrw

2001-08-18 Thread Jeff Hergan

On Saturday 18 August 2001 00:57, you wrote:
 On Sat, Aug 18, 2001 at 12:32:37AM -0500, Jeff Hergan wrote:
  Anyway, there is no driver for HP Laserjet 1200 there.
  I tried Laserjet Series, and Laserjet cups v1.1 but neither works at
  all--no response from the printer at all.

 Hope this helps.
 http://www.linuxprinting.org/show_printer.cgi?recnum=HP-LaserJet_1200

Well...it makes me think the printer _should_ work.
But I've been doing a lot of reading, and trying a lot of things
and I just can't get it to work.
I used the cups-o-matic thing to generate a ppd file, then copied the file
to /usr/share/cups/model/HP
but it doesn't show up in Mandrake control center...

This cups stuff is completely new to me and I just don't get it.

I could really use a little hand-holding on this one--especially now that I 
know it should work.

Anyone?  Please?

Thanks for your help so far.

Jeff




Re: Sound, printing and cdrw

2001-08-18 Thread Dippy Black

On the sound. I believe that changing to 8 bits sound was supposed to help. I 
think it is a kde version bug from what i read.

On Saturday 18 August 2001 06:45, you wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I don't know how to get it to sound like the welcome sound it's
 supposed to. However, they're probably an option in the KDE Control
 Center to turn it off. Look for KDE_Logon or something like that.
 Sorry I can't be more specific, but I use Gnome.

 - -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Vincent
 Danen
 Sent: Saturday, August 18, 2001 3:01 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Sound, printing and cdrw

 On Fri Aug 17, 2001 at 05:27:49PM -0500, Jeff Hergan wrote:
  Can someone help me with this?
 
  I'm trying to get an HP Laserjet 1200s (USB) running, using cups.
  During the install, it showed a list of drivers but HP Laserjet
  1200s was not among them.  There's even an HP Laserjet utility in
  the Printing setup menu--but it just won't work.

 Can't help you with this...  I don't think there's much that can be
 done here until the appropriate drivers are written.  I've got a
 Lexmark Z22 (USB) that's connected to my mac machine and the drivers
 are experimental... color comes out great, but no black... very wird.

  And the sound thing--when I start kde I hear that awful static
  noise. How does one get sound up and running?

 I get this to and it would be real nice to know how to get rid of
 it... =)

  Finally the built-in cdrw in a new iMac.
  But I haven't looked for info yet--so maybe I'll read the friendly
  manual before I ask for help on that.  But the printing and sound
  are two biggies that I gotta get working asap, if someone would be
  so kind.

 I suspect that it will work just the same as under x86.  Just run
 cdrecord --scanbus and you should see the dev entry for it.  Haven't
 tried it yet, but I see that the ide-scsi module is loaded so it
 should operate the same.

 - --
 [EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
 1024D/FE6F2AFD   88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD
  - Danen Consulting Serviceswww.danen.net, www.freezer-burn.org
  - MandrakeSoft, Inc. Security  www.linux-mandrake.com

 Current Linux kernel 2.4.7-8mdk uptime: 7 days 9 hours 45 minutes.

 -BEGIN PGP SIGNATURE-
 Version: PGPfreeware 6.5.8 for non-commercial use http://www.pgp.com

 iQA/AwUBO35VZd0IbHN+6I/YEQLlsQCeKxiOnieUHH4/eN9kEcLYfbSaDTUAoJcp
 a2Z5p5xS6oJMOP22AGb34UPZ
 =8i//
 -END PGP SIGNATURE-




Re: Sound, printing and cdrw

2001-08-17 Thread Jeff Hergan

On Friday 17 August 2001 18:38, Brice D Ruth wrote:
 Hey there - I think I can help you w/ most of these things, but let's
 try to tackle one at a time, eh? :)

 First off - with the USB printer, is your printer being recognized by
 the USB subsystem?  This would probably require you inserting the
 'printer' module - something like this should do the trick:


Thank you!  I appreciate the help.


 # /sbin/modprobe printer

This yeilds nothing .


 To see if that recognized your printer, try this (right after the above)

 # tail /var/log/messages


I see nothing related to printer in /var/log/messages.  Except this:

[root@omnia jeff]# more /var/log/messages | grep printer
Aug 17 16:15:15 omnia kernel: printer.c: usblp0: device node registration 
failed
Aug 17 16:15:15 omnia kernel: printer.c: usblp0: USB Bidirectional printer 
dev 2
 if 0 alt 0
Aug 17 16:15:09 omnia usb: Loading USB printer succeeded
Aug 17 16:15:25 omnia xinetd[882]: printer disabled, removing
[root@omnia jeff]#

 and see if it says anything about your printer, e.g. that it was bound
 to something like usblp0

 Right back!
 -Brice

Thank you again, Brice!

Jeff


 Jeff Hergan wrote:
 Can someone help me with this?
 
 I'm trying to get an HP Laserjet 1200s (USB) running, using cups.
 During the install, it showed a list of drivers but HP Laserjet 1200s
 was not among them.  There's even an HP Laserjet utility in
 the Printing setup menu--but it just won't work.
 
 And the sound thing--when I start kde I hear that awful static noise.
 How does one get sound up and running?
 
 Finally the built-in cdrw in a new iMac.
 But I haven't looked for info yet--so maybe I'll read the friendly
 manual before I ask for help on that.  But the printing and sound are two
 biggies that I gotta get working asap, if someone would be so kind.
 
 Thanks (and great job, Stew!)
 
 Jeff
 
 Jeffrey P. Hergan, Ph. D.
 Adjunct Professor of Philosophy
 Saint Xavier University
 Chicago




Re: Sound, printing and cdrw

2001-08-17 Thread Brice D Ruth

OK, now for the sound - this can get a bit tricky, so bear with me, 'k? 
 I have an iMac DV (late 2000) w/ sound working fine - so have hope :)

First, you should know that I use alsa for sound - so if you have 
something against alsa, this won't work for you.

Step one - configure /etc/modules.conf

My modules.conf looks like this:

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
# ALSA portion
alias snd-card-0 snd-card-awacs
# OSS/Free portion
alias sound-slot-0 snd-card-0
# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-12 snd-pcm-oss

snip

I left out entries for my network card, usb, and usb-storage drivers. 
 These are probably already in your modules.conf

So, getting this in and restarting should get alsa loaded - you also 
need to make sure that you have the alsa RPMs.  I have the following 
versions:

alsa-lib-devel-0.5.10-2mdk
alsa-utils-0.5.10-2mdk
alsa-lib-0.5.10-2mdk

you probably don't need the first, -devel-, but it won't hurt to have it 
installed, either.

Get to this point  write back!
-Brice

Jeff Hergan wrote:

Can someone help me with this?

I'm trying to get an HP Laserjet 1200s (USB) running, using cups.
During the install, it showed a list of drivers but HP Laserjet 1200s
was not among them.  There's even an HP Laserjet utility in
the Printing setup menu--but it just won't work.

And the sound thing--when I start kde I hear that awful static noise.
How does one get sound up and running?

Finally the built-in cdrw in a new iMac.
But I haven't looked for info yet--so maybe I'll read the friendly
manual before I ask for help on that.  But the printing and sound are two
biggies that I gotta get working asap, if someone would be so kind.

Thanks (and great job, Stew!)

Jeff

Jeffrey P. Hergan, Ph. D.
Adjunct Professor of Philosophy
Saint Xavier University
Chicago







Re: Sound, printing and cdrw

2001-08-17 Thread Jeff Hergan

OK  Here's my /etc/modules.conf.
I wasn't sure what to do with the alias-sound-slot line.
I left as it was:

pre-install pcmcia_core CARDMGR_OPTS=-f /etc/rc.d/init.d/pcmcia start
alias usb-interface usb-ohci
alias sound-slot-0 dmasound_awacs
alias scsi_hostadapter ide-scsi
alias eth0 gmac
#
#
#
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
# ALSA portion
alias snd-card-0 snd-card-awacs
# OSS/Free portion
alias sound-slot-0 snd-card-0
# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-12 snd-pcm-oss

But I have no idea where to find the alsa rpms.  I'm assuming they're 
installed.  I do see a /usr/share/alsa directory...

rpmfind.net and linuxppc.org don't have alsa for ppc.

Thanks again,
Jeff




Re: Sound, printing and cdrw

2001-08-17 Thread Ben Reser

On Fri, Aug 17, 2001 at 07:25:33PM -0500, Jeff Hergan wrote:
 But I have no idea where to find the alsa rpms.  I'm assuming they're 
 installed.  I do see a /usr/share/alsa directory...

rpm -q alsa-lib alsa-utils alsa-lib-devel

-- 
Ben Reser [EMAIL PROTECTED]
http://ben.reser.org

Wizard's First Rule - People are stupid, they will believe anything
if they want it to be true or they fear it is true - Terry Goodkind




Re: Sound, printing and cdrw

2001-08-17 Thread Ben Reser

On Sat, Aug 18, 2001 at 12:32:37AM -0500, Jeff Hergan wrote:
 Anyway, there is no driver for HP Laserjet 1200 there.
 I tried Laserjet Series, and Laserjet cups v1.1 but neither works at all--no
 response from the printer at all.

Hope this helps.
http://www.linuxprinting.org/show_printer.cgi?recnum=HP-LaserJet_1200

-- 
Ben Reser [EMAIL PROTECTED]
http://ben.reser.org

Wizard's First Rule - People are stupid, they will believe anything
if they want it to be true or they fear it is true - Terry Goodkind