firewire, printing, and sound on iBook DV 2K

2001-06-15 Thread Phil Fraering

Hi. I just got around to compiling one of Benh's latest
kernels on my Indigo iBook, and I have had a drastic
improvement in a lot of things.

Using printtool, the Epson 1520 I have will finally print an
ASCII test page. Although it doesn't seem to want to print a
postscript test page or anything else other than straight to
the port. Still, I can print something by cat'ing to
/dev/usb/lp0, which is more than I could do before.

Also, sound almost works. Esd produces beeps when you start
it up. Nothing else seems to work, though, besides system
beeps. wavp produces static.

There's no /dev/audio; that's a kernel compilation error on
my part, I guess?

BTW, I'm using the new devfs. It seems to work fine.

Finally, is anyone else using firewire on the mac? I had
video1394.o compiled as a module, but it won't insert into
the kernel.

Phil
[EMAIL PROTECTED]



Re: firewire, printing, and sound on iBook DV 2K

2001-06-15 Thread Jason E. Stewart
"Phil Fraering" <[EMAIL PROTECTED]> writes:

> Finally, is anyone else using firewire on the mac? I had video1394.o
> compiled as a module, but it won't insert into the kernel.

There is a serious problem with Apples motherboard implementation of
OHCI. It ignores all the byte swap registers (which seems to be legal
according to the OHCI spec). There is a serious discussion of this
going on in the Linux1394 project. There are 3 or so different
possible solutions and they're zeroing in on which one should be
implemented. 

I would expect a solution to available in CVS in the not too distant
future. 

If you want more info check out the 'Big Endian OHCI patch' thread on
linux1394-devel. 

jas.



Re: firewire, printing, and sound on iBook DV 2K

2001-06-15 Thread Tuomas Kuosmanen
On Fri, Jun 15, 2001 at 09:00:05AM -0500, thus said Phil Fraering:

> Using printtool, the Epson 1520 I have will finally print an
> ASCII test page. Although it doesn't seem to want to print a
> postscript test page or anything else other than straight to
> the port. Still, I can print something by cat'ing to
> /dev/usb/lp0, which is more than I could do before.

Check out http://gimp-print.sourceforge.net/, it's the Gimp print plugin
project, but it also includes a Ghostscript and CUPS driver using the same
backend. This will give you print quality that is in the same class as the
native Epson drivers for Windows and Mac. In other words, it rocks.

It is a bit tricky to setup, but there are instructions how to make it work
with LPR, then you can just print postscript and the quality is _awesome_.
To do it in a smart way, you want to setup many printer aliases, all with
the same printer device, but with different options, so you can print to
glossy paper, inkjet paper, plain paper, with different DPI etc.

There is a debian package of it; it is called gs-stp. Good luck. I had it
setup once, but I dont think it works for me anymore (been updating stuff
since) - I mostly print from Gimp and it doesnt need the GS driver so it is not
that important for me at the moment. But I remember the printout was just
stunning quality.

> Finally, is anyone else using firewire on the mac? I had
> video1394.o compiled as a module, but it won't insert into
> the kernel.
 
I dont have any firewire devices, but using Ben's kernel tree
(linux-2.4-benh) from 2 weeks ago, version being 2.4.5-pre3, I get the
module inserted ok, and it seems to recognize the thing. However I dont
currently have any firewire devices. I am planning to buy a FW harddisk
though, so I can volunteer as a guinea pig in the near future. Any
recommendations on which ones should work on Linux?

This is my kernel.log when I modprobe video1394:

Jun 15 22:50:07 localhost kernel: ieee1394: registered ohci1394 driver,
initializing now
Jun 15 22:50:07 localhost kernel: ohci1394: looking for Ohci1394 cards
Jun 15 22:50:07 localhost kernel: PCI: Enabling device 06:0e.0 (0010 ->
0012)
Jun 15 22:50:07 localhost kernel: ohci1394_0: remapped memory spaces reg
0xd1844000
Jun 15 22:50:07 localhost kernel: ohci1394_0: allocated interrupt 40
Jun 15 22:50:07 localhost kernel: ohci1394_0: soft reset finished
Jun 15 22:50:07 localhost kernel: ohci1394_0: max packet size = 2048 bytes
Jun 15 22:50:07 localhost kernel: ohci1394_0: 4 iso receive contexts
available
Jun 15 22:50:07 localhost kernel: ohci1394_0: 4 iso transmit contexts
available
Jun 15 22:50:07 localhost kernel: ohci1394_0: Receive DMA ctx=0 initialized
Jun 15 22:50:07 localhost kernel: ohci1394_0: Receive DMA ctx=1 initialized
Jun 15 22:50:07 localhost kernel: ohci1394_0: AT dma ctx=0 initialized
Jun 15 22:50:07 localhost kernel: ohci1394_0: AT dma ctx=1 initialized
Jun 15 22:50:07 localhost kernel: ohci1394_0: Receive DMA ctx=2 initialized
Jun 15 22:50:07 localhost kernel: ohci1394_0: resetting bus on request
Jun 15 22:50:07 localhost kernel: ieee1394: detected 1 ohci1394 adapter 
Jun 15 22:50:07 localhost kernel: ohci1394_0: irq_handler timeout
event=0x0002
Jun 15 22:50:07 localhost kernel: ohci1394_0: PhyControl: 8003017F
Jun 15 22:50:07 localhost kernel: ohci1394_0: SelfID process finished (phyid
0, root)
Jun 15 22:50:07 localhost kernel: ohci1394_0: selfid packet 0x807f8452 rcvd
Jun 15 22:50:07 localhost kernel: ieee1394: including selfid 0x807f8452
Jun 15 22:50:07 localhost kernel: ohci1394_0: This node self-id is
0x807f8452
Jun 15 22:50:07 localhost kernel: ohci1394_0: calling self-id complete
Jun 15 22:50:07 localhost kernel: video1394: initialized with 1 ohci cards

Best wishes,

Tuomas

-- 

.--->  [EMAIL PROTECTED].|\,/|  [EMAIL PROTECTED]  <-.
+>  www.ximian.com -  ()-@@  ,   tigert.gimp.org  <+
`->  art director   ,  `--')/   a gimp artist  <---'




Re: firewire, printing, and sound on iBook DV 2K

2001-06-15 Thread Jason E. Stewart
"Tuomas Kuosmanen" <[EMAIL PROTECTED]> writes:

> I dont have any firewire devices, but using Ben's kernel tree
> (linux-2.4-benh) from 2 weeks ago, version being 2.4.5-pre3, I get
> the module inserted ok, and it seems to recognize the thing. However
> I dont currently have any firewire devices. I am planning to buy a
> FW harddisk though, so I can volunteer as a guinea pig in the near
> future. Any recommendations on which ones should work on Linux?

Yes. Look at linux1394.sourceforge.net. They have a recommendations
page. 

Unless you've got an x86 box, I wouldn't run out and buy things just
yet. The code to get firewire working on big-endian systems isn't even
in CVS yet. 

jas.



Re: firewire, printing, and sound on iBook DV 2K

2001-06-15 Thread Tuomas Kuosmanen
On Fri, Jun 15, 2001 at 04:26:21PM -0600, thus said Jason E. Stewart:
> Yes. Look at linux1394.sourceforge.net. They have a recommendations
> page. 

Okay, cool.

> Unless you've got an x86 box, I wouldn't run out and buy things just
> yet. The code to get firewire working on big-endian systems isn't even
> in CVS yet. 
 
Yah, good to know. The point is I would be using the disk under native MacOS
with a digital video camera and iMovie2 to learn video stuff. One needs a
lot of scratch disk for that, and my laptop internal HD is too full. It
would work okay for that purpose until there is Linux support, so it wouldnt
just be used as a fishing bait until then :)

Hopefully someone will start a video editing suite for Gnome at some point,
I would love to help with the interface stuff etc.

Tuomas

-- 

.--->  [EMAIL PROTECTED].|\,/|  [EMAIL PROTECTED]  <-.
+>  www.ximian.com -  ()-@@  ,   tigert.gimp.org  <+
`->  art director   ,  `--')/   a gimp artist  <---'




gs-stp (was: Re: firewire, printing, and sound on iBook DV 2K)

2001-06-16 Thread Charles Sebold
On 24 Sivan 5761, Tuomas Kuosmanen wrote:

> There is a debian package of it; it is called gs-stp. Good luck. I
> had it setup once, but I dont think it works for me anymore (been
> updating stuff since) - I mostly print from Gimp and it doesnt need
> the GS driver so it is not that important for me at the moment. But
> I remember the printout was just stunning quality.

I couldn't find gs-stp.  Any other ideas as to what it would be
called?  Or did you mean that somebody other than Debian has the
Debian package?  Couldn't find it on the sourceforge site.
-- 
Charles Sebold   25th of Sivan, 5761
--
Never underestimate the bandwidth of a station wagon full of tapes.
-- Dr. Warren Jackson, Director, UTCS



Re: gs-stp (was: Re: firewire, printing, and sound on iBook DV 2K)

2001-06-16 Thread Tuomas Kuosmanen
On Sat, Jun 16, 2001 at 09:38:18AM -0500, thus said Charles Sebold:
> On 24 Sivan 5761, Tuomas Kuosmanen wrote:
> 
> > There is a debian package of it; it is called gs-stp. Good luck. I
> > had it setup once, but I dont think it works for me anymore (been
> > updating stuff since) - I mostly print from Gimp and it doesnt need
> > the GS driver so it is not that important for me at the moment. But
> > I remember the printout was just stunning quality.
> 
> I couldn't find gs-stp.  Any other ideas as to what it would be
> called?  Or did you mean that somebody other than Debian has the
> Debian package?  Couldn't find it on the sourceforge site.

Oh. It's probably in testing/unstable then. You could try grabbing that
package from there and seeing if it works with debian/stable version (I
assume you have that as the package exists in testing) 

Or just get the sources if it depends on too many packages from unstable.
There is a script to build the debian package of the ghostscript driver in
the source tar.gz, with instructions.

Best wishes,

Tuomas


-- 

.--->  [EMAIL PROTECTED].|\,/|  [EMAIL PROTECTED]  <-.
+>  www.ximian.com -  ()-@@  ,   tigert.gimp.org  <+
`->  art director   ,  `--')/   a gimp artist  <---'




Re: gs-stp (was: Re: firewire, printing, and sound on iBook DV 2K)

2001-06-16 Thread Charles Sebold
On 26 Sivan 5761, Tuomas Kuosmanen wrote:

>> I couldn't find gs-stp.  Any other ideas as to what it would be
>> called?  Or did you mean that somebody other than Debian has the
>> Debian package?  Couldn't find it on the sourceforge site.
> 
> Oh. It's probably in testing/unstable then. You could try grabbing
> that package from there and seeing if it works with debian/stable
> version (I assume you have that as the package exists in testing)

Thanks, I was running unstable and it didn't seem to be there.

> Or just get the sources if it depends on too many packages from
> unstable.  There is a script to build the debian package of the
> ghostscript driver in the source tar.gz, with instructions.

I suppose I shall have to do that.  Thanks for your time.
-- 
Charles Sebold   26th of Sivan, 5761
--
Some may scoff at the hobby of astronomy, but sitting in an empty field
in the middle of winter is a great way to see tiny little dots.

 -- The Onion's Stargazing Tips,
http://www.theonion.com/onion3706/stargazing_tips.html