Skip to contentSkip to conversation

Is someone working on HFS+ support ?

DISCUSSION Benjamin Herrenschmidt 13 participants 18 messages Aug 18, 1999 – Aug 24, 1999

lore
Share & tools
lore
#0 lore raw

The question is in the title...

Signature · 9 lines
           Perso. e-mail: <mailto:[email protected]>
           Work   e-mail: <mailto:[email protected]>
BenH.      Web   : <http://calvaweb.calvacom.fr/bh40/>


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]
#1 lore raw
Quoted 1 line · Benjamin Herrenschmidt

The question is in the title...

I sent a note to [email protected], who said he was going to clean up what he had before he would release his work so far. Last I heard, he was in the thick of work, but was planning on releasing something soon.

Thanks,
Pete

Signature · 10 lines
Peter F. Handel          "[The anti-Christ] also forced everyone, small and
[email protected]      great ... to receive a mark [smart card?] on his
www.cise.ufl.edu/~phandel right hand or on his forehead, so that no one could
FAX: (561) 619-8051       buy or sell unless he had the mark"-Revelation13:16


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]
#2 lore raw

BootX enhancement request

In reply to Benjamin Herrenschmidt

I'm not sure how hard/not hard this would be to do, but right now in order to change resolutions I have to boot into MacOS, set my resolution, launch BootX, boot into init 3, run Xautoconfig, boot into init 5.

That's a lot of work to just change the resolution for X.

It would be nice if you could set the resolution and color from BootX on boot up.

If there's a easier way to change pixel depth and resolution from inside X please let me know....

-b

--
AOL SAPI 703.265.0908 AIM:jackal242
http://jackal.fudge.org `I was never more certain of how far away I was
from my goal than when I was standing right beside it.' - Ethan Hawke, Gattaca

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#3 lore raw

Re: BootX enhancement request

Quoted 4 lines · brad allison

I'm not sure how hard/not hard this would be to do, but right now in order to change resolutions I have to boot into MacOS, set my resolution, launch BootX, boot into init 3, run Xautoconfig, boot into init 5.

One way would be to add a line to your rc.local file to check for and run Xautoconfig automatically on startup.

Quoted 2 lines

It would be nice if you could set the resolution and color from BootX on boot up.

This would require using a video hw specific driver such as "atyfb" or "aty128fb".

-mike

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#4 lore raw

Re: BootX enhancement request

In reply to brad allison

Brad,

Once again, you DO NOT NEED TO DO THIS! The B&W G3 now has video support.

If you've downloaded the latest kernel from my web-site, you can specify the video mode you want from the kernel arguments of BootX. Add the following to you kernel arguments:

video=aty128fb:vmode:17,cmode:32

That will give you 1024x768 @ 75Hz, w/32bpp. Piece of cake, no init'ing, no rebooting, no running Xautoconfig.

The FAQ page at my site (http://www.inficad.com/~rshaw/g3_faq.shtml) also has the reproduction of the vmode settings that are available. They work, and no running of Xautoconfig is needed.

-Robert
[email protected]
http://www.inficad.com/~rshaw/

Quoted 12 lines · brad allison

I'm not sure how hard/not hard this would be to do, but right now in order to change resolutions I have to boot into MacOS, set my resolution, launch BootX, boot into init 3, run Xautoconfig, boot into init 5.

That's a lot of work to just change the resolution for X.

It would be nice if you could set the resolution and color from BootX on boot up.

If there's a easier way to change pixel depth and resolution from inside X please let me know....

Quoted 6 lines

-b

--
AOL SAPI 703.265.0908 AIM:jackal242
http://jackal.fudge.org `I was never more certain of how far away I was
from my goal than when I was standing right beside it.' - Ethan Hawke, Gattaca

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#5 lore raw

video driver ( was Re: BootX enhancement request )

Along the lines of this thread, does anyone know the supplied video drivers work with the internal video of a 7500? Or should I just stick to the 'No Video Driver' option?

In past experiments, unselecting No Video Driver lead to the 'grey square behind the pointer' problem with this box.

Thanks for any help,
john.

Signature · 9 lines
----------------------------------------------------------------
John S Jacobs Anderson                      [email protected]
www.treefort.org/~jacobs/ <--   GeneHack (bioinfo*linux*opinion)


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]
#6 lore raw

Re: BootX enhancement request

In reply to Robert Shaw
Quoted 4 lines · Robert Shaw

Brad,

Once again, you DO NOT NEED TO DO THIS! The B&W G3 now has video support.

Quoted 9 lines

If you've downloaded the latest kernel from my web-site, you can specify the video mode you want from the kernel arguments of BootX. Add the following to you kernel arguments:

video=aty128fb:vmode:17,cmode:32

That will give you 1024x768 @ 75Hz, w/32bpp. Piece of cake, no init'ing, no rebooting, no running Xautoconfig.

I think you missed my point. Don't get me wrong, that's cool to know. But I was thinking more along the lines of a drop down menu to set the resolution from BootX rather than cryptic kernel arguements.

It seems the 2.2.10 kernel will not sync to the video settings at all without the kernel arguements.

Quoted 4 lines

The FAQ page at my site (http://www.inficad.com/~rshaw/g3_faq.shtml)
also has the
reproduction of the vmode settings that are available. They work, and no running of Xautoconfig is needed.

Well i think putting Xautoconfig in the rc.local file is still a good idea.

-b

Quoted 16 lines
Quoted 12 lines · brad allison

I'm not sure how hard/not hard this would be to do, but right now in order to change resolutions I have to boot into MacOS, set my resolution, launch BootX, boot into init 3, run Xautoconfig, boot into init 5.

That's a lot of work to just change the resolution for X.

It would be nice if you could set the resolution and color from BootX on boot up.

If there's a easier way to change pixel depth and resolution from inside X please let me know....

Quoted 7 lines
Quoted 6 lines

-b

--
AOL SAPI 703.265.0908 AIM:jackal242
http://jackal.fudge.org `I was never more certain of how far away I was
from my goal than when I was standing right beside it.' - Ethan Hawke, Gattaca

--
AOL SAPI 703.265.0908 AIM:jackal242
http://jackal.fudge.org `I was never more certain of how far away I was
from my goal than when I was standing right beside it.' - Ethan Hawke, Gattaca

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#7 lore raw

Re: BootX enhancement request

Quoted 5 lines · brad allison
Quoted 3 lines · Robert Shaw

Brad,

Once again, you DO NOT NEED TO DO THIS! The B&W G3 now has video support.

This, BETA, driver. :)

Quoted 3 lines

I think you missed my point. Don't get me wrong, that's cool to know. But I was thinking more along the lines of a drop down menu to set the resolution from BootX rather than cryptic kernel arguements.

So you want BootX to be able to do what Monitors & Sound can do. Either pick a mode there and use BootX from MacOS, or once 2.4.0 rolls around, specify video=aty128fb:1024x768@75 (or so). There is no need for BootX to do this.

Quoted 2 lines

It seems the 2.2.10 kernel will not sync to the video settings at all without the kernel arguements.

What, aty128fb? It's beta and not done. You're prolly better off using No Video Driver, unles you're gonna play w/ the source (Anthony, speak up if i'm wrong). :)

Quoted 7 lines
Quoted 4 lines

The FAQ page at my site (http://www.inficad.com/~rshaw/g3_faq.shtml)
also has the
reproduction of the vmode settings that are available. They work, and no running of Xautoconfig is needed.

Well i think putting Xautoconfig in the rc.local file is still a good idea.

Xautoconfig is nice for monitors that don't work right w/ Xconfigurator. It's not a tool for "No Video Driver" machines, it's a tool for wierd monitors/easier to setup X.

---
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#17 lore raw

Re: BootX enhancement request

In reply to brad allison
Quoted 4 lines

I think you missed my point. Don't get me wrong, that's cool to know. But I was thinking more along the lines of a drop down menu to set the resolution from BootX rather than cryptic kernel arguements.

Ok, that's reasonable. Any thoughts Ben?

Quoted 2 lines

It seems the 2.2.10 kernel will not sync to the video settings at all without the kernel arguements.

Strange, mine does. :|
Have you tried the latest 2.2.10 kernel I posted last night? Does it mess up also?

Quoted 4 lines

Well i think putting Xautoconfig in the rc.local file is still a good idea.

Not if you make changes to the XF86Config file for the USB xkb stuff. Xautoconfig will mess it all up and switch it back to PC settings. There is a warning in the Kernel HOWTO about this when setting up the xkb settings.

-Robert
mailto:[email protected]
http://www.inficad.com/~rshaw/

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#8 lore raw

Re: BootX enhancement request

In reply to Tom Rini
Quoted 2 lines

This, BETA, driver. :)

Yeah, but it works, and it's much faster than the plain frame buffer device. :)

Quoted 3 lines

What, aty128fb? It's beta and not done. You're prolly better off using No Video Driver, unles you're gonna play w/ the source (Anthony, speak up if i'm wrong). :)

It may be beta, but it works just fine. I've had several users indicate it works without any problems.

--
-Robert
mailto:[email protected]
http://www.inficad.com/~rshaw/

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#10 lore raw

Re: BootX enhancement request

In reply to Tom Rini
Quoted 2 lines
Quoted 2 lines

"Tom" == Tom Rini <[email protected]> writes:

Tom> So you want BootX to be able to do what Monitors & Sound can do. Either Tom> pick a mode there and use BootX from MacOS, or once 2.4.0 rolls around, Tom> specify video=aty128fb:1024x768@75 (or so). There is no need for BootX Tom> to do this.

Probably more to the point, we should strive to provide some easy way of doing it. How do MacOS and Windows deal with the problem of different monitors and resolutions? I know on the Mac so far, I automatically get the available resolutions, although Apple-style monitors have extra sense pins to provide the info.

Ideally, I shouldn't have to ever think about my monitor or have to add command line args to the kernel. Such twiddling should be as rare as possible.

Signature · 9 lines
Jerry Quinn                             Tel: (514) 761-8737
[email protected]               Fax: (514) 761-8505
Speech Recognition Research


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]
#11 lore raw

Re: BootX enhancement request

Quoted 9 lines · Jerry Quinn

Probably more to the point, we should strive to provide some easy way of doing it. How do MacOS and Windows deal with the problem of different monitors and resolutions? I know on the Mac so far, I automatically get the available resolutions, although Apple-style monitors have extra sense pins to provide the info.

Ideally, I shouldn't have to ever think about my monitor or have to add command line args to the kernel. Such twiddling should be as rare as possible.

Feel free to look at the code MkLinux hass to read the sense pins.... Granted, it's not actually being _used_ for anything, since MkLinux doesn't change resolution, but it's there in the original PDM video driver. There will obviously be differences for other video hardware, but it _might_ at least provide some useful inspiration or something.

David

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#12 lore raw

imac exception (Re: BootX enhancement request)

it should be noted that the imac, although it has the same 15-pin video connector internally, doesn't follow the rules and apply the right signals to its sense pins. so you need a special case in your detection code for this beast. (the signals from the sense pins suggest the computer use a resolution/synch that the monitor doesn't even support)

Quoted 5 lines

Feel free to look at the code MkLinux hass to read the sense pins.... Granted, it's not actually being _used_ for anything, since MkLinux doesn't change resolution, but it's there in the original PDM video driver. There will obviously be differences for other video hardware, but it _might_ at least provide some useful inspiration or something.

Brad
[email protected] | http://www.pht.com/~brad/

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#9 lore raw

Re: BootX enhancement request

In reply to Robert Shaw
Quoted 6 lines · Robert Shaw
Quoted 1 line

This, BETA, driver. :)

It may be beta, but it works just fine. I've had several users indicate it works without any problems.

I'm using it.

Works great. I've got a G3 450mhz (rev2) and a SGI 21" monitor.

I tested the precompiled 2.2.6 and the 2.2.10 off Shaw's site.

The 2.2.6 kernel worked without having to do anything special. The 2.2.10 kernel needed the kernel arguements to synch to my monitor.

-b

--
AOL SAPI 703.265.0908 AIM:jackal242
http://jackal.fudge.org `I was never more certain of how far away I was
from my goal than when I was standing right beside it.' - Ethan Hawke, Gattaca

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#13 lore raw

Re: BootX enhancement request

In reply to Jerry Quinn

Note: I'm not really active on the linuxppc-dev list (read: lurker), but I assume that all of the people on the 'to' list are on the list so I've trimmed it back to just the list.

Quoted 6 lines
Quoted 1 line
Quoted 1 line

"Tom" == Tom Rini <[email protected]> writes:

Tom> So you want BootX to be able to do what Monitors & Sound can do. Either Tom> pick a mode there and use BootX from MacOS, or once 2.4.0 rolls around, Tom> specify video=aty128fb:1024x768@75 (or so). There is no need for BootX Tom> to do this.

I agree w/ this, if mostly because bootX would either need to do a lot of querying to determine what the board/monitor combo could do or there would be yet another list of supportable modes that might get out of sync w/ what's already in the X config stuff.

Quoted 4 lines · Jerry Quinn

How do MacOS and Windows deal with the problem of different monitors and resolutions? I know on the Mac so far, I automatically get the available resolutions, although Apple-style monitors have extra sense pins to provide the info.

W/ the coming of win9x, the pnp stuff wants to load 'extra' information about monitors etc taht it detects. This information 'overrides' any monitor sense stuff that might be present (I've never seen a pc monitor like this), and restricts the list of availible modes presented to the user. I've since lost the brain cells involved (thank goodness), but you can 'hand edit' the .inf file (or whatever) to get modes that you know the monitor supports but that are not advertised. (Well, my co-workers at 3dfx and I would do this because we 'knew' our brand new viewsonic monitors could do a lot more than whatever appeared in the list).

I think that the lack of sense pins for normal vga connectors is part of the reason why windows still asks if the test pattern appears correctly on the monitor. It knows what the card can support, but not whether the user is using some crappy monitor that can't synch.

\p

---
We all enter this world in the same way:
naked; screaming; soaked in blood.
But if you live your life right, that kind of
thing doesn't have to stop there. -- Dana Gould

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#15 lore raw

Re: BootX enhancement request

In reply to Tom Rini

Tom Rini (Mon, Aug 23, 1999 at 04:27:46PM -0400):

Quoted 8 lines
Quoted 3 lines

I think you missed my point. Don't get me wrong, that's cool to know. But I was thinking more along the lines of a drop down menu to set the resolution from BootX rather than cryptic kernel arguements.

So you want BootX to be able to do what Monitors & Sound can do. Either pick a mode there and use BootX from MacOS, or once 2.4.0 rolls around, specify video=aty128fb:1024x768@75 (or so). There is no need for BootX to do this.

If you have a version of MacOS that saves the monitor mode in nvram, you shouldn't need to give any kernel arguments. Alternatively you can use the linuxpmac tool nvvideo to set this.

It should be simple to add modedb support for the time being as well.

Quoted 2 lines
Quoted 2 lines

It seems the 2.2.10 kernel will not sync to the video settings at all without the kernel arguements.

The default (without kernel arguments) is 640x480-60, unless you have a video mode already set in nvram.

Quoted 3 lines

What, aty128fb? It's beta and not done. You're prolly better off using No Video Driver, unles you're gonna play w/ the source (Anthony, speak up if i'm wrong). :)

If it works, use it, if not, send me an email. :)

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#16 lore raw

Re: BootX enhancement request

Quoted 3 lines · anthony tong

If you have a version of MacOS that saves the monitor mode in nvram, you shouldn't need to give any kernel arguments. Alternatively you can use the linuxpmac tool nvvideo to set this.

Yep. There are two problems at the moment, which I should get off my butt and fix. :-)

The first is that the current machines use a different structure for nvram, based on the CHRP spec, which means that just using a fixed offset in nvram doesn't work. In fact it seems like macos adds a OF property with a really strange encoding to store arbitrary bits of information for the device drivers for arbitrary devices.

The second is that macos is now using mode numbers > 20. I haven't worked out the correspondence yet.

Paul.

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#14 lore raw

Re: BootX enhancement request

In reply to Jerry Quinn
Quoted 7 lines · Jerry Quinn
Quoted 1 line
Quoted 1 line

"Tom" == Tom Rini <[email protected]> writes:

Tom> So you want BootX to be able to do what Monitors & Sound can do. Either Tom> pick a mode there and use BootX from MacOS, or once 2.4.0 rolls around, Tom> specify video=aty128fb:1024x768@75 (or so). There is no need for BootX Tom> to do this.

Quoted 5 lines

Probably more to the point, we should strive to provide some easy way of doing it. How do MacOS and Windows deal with the problem of different monitors and resolutions? I know on the Mac so far, I automatically get the available resolutions, although Apple-style monitors have extra sense pins to provide the info.

Don't they both stick you at 640x480@60, and make you choose up from there? (I know I've seen waaay to many 640x480 PCs around in these dorms lately). There are ways to sense modes, and it is implemented in some drivers (most, iirc)

Quoted 3 lines

Ideally, I shouldn't have to ever think about my monitor or have to add command line args to the kernel. Such twiddling should be as rare as possible.

So set something in MacOS. :)

---
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]