?

Log in

No account? Create an account
Ah yea' - brad's life — LiveJournal [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Ah yea' [Jun. 21st, 2001|04:34 am]
Brad Fitzpatrick
Just when I was fully convinced I was screwed, everything came together.

I'm now posting this from loserjabber, in X, with a working mouse. Kickass.

I don't know if the eraser mouse is working in windows yet, and I haven't got the suspend-to-disk partition working... but who cares. I HAVE X!

lapwarmer:/win/mp3# scp -r -P 2210 "bradfitz@10.0.0.10:'mp3/By Artist/Bran Van 3000/'" .

Now to get sound working.
LinkReply

Comments:
[User Picture]From: solace
2001-06-21 11:41 am (UTC)
screenshot!

:P~
(Reply) (Thread)
[User Picture]From: bradfitz
2001-06-21 11:48 am (UTC)
I bet you it'd look no different from a non-laptop screenshot. :-)
(Reply) (Parent) (Thread)
[User Picture]From: solace
2001-06-21 11:50 am (UTC)
shush!

just wanted to see the beauty that is 1600x1200 on a laptop, in X :)

ok then smarty pants, take an actual photos :P~
(Reply) (Parent) (Thread)
[User Picture]From: nighthawk
2001-06-21 11:49 am (UTC)
Calling it Lapwarmer huh? :)
(Reply) (Thread)
[User Picture]From: bradfitz
2001-06-21 03:04 pm (UTC)
For now, at least. It seems fitting, in any case.

BTW, can I still borrow that FM transmitter thing? I finally got sound working and indeed, it sounds like crap. :-)
(Reply) (Parent) (Thread)
[User Picture]From: nighthawk
2001-06-21 03:05 pm (UTC)
Lemme see if I can find it when I get home, if so, sure man. :)
(Reply) (Parent) (Thread)
[User Picture]From: topher
2001-06-21 11:55 am (UTC)

Mouse. . .

If you've removed gpm, that's a good thing. gpm will wreak havoc when X is running on this laptop.

Then yeah, /dev/psaux is what you want to look to for the mouse. There's also a touchpad utilities debian package called synaptics in stable, tpconfig in testing/unstable.

Might wanna take a look at that.

There is a dell thing (rpm) for doing suspend to disk from Linux, too. I keep meaning to, but I've never actually gotten around to checking it out, so I'm not sure what all is involved. I don't hink it's very difficult, though. I think it's just a matter of creating a small (RAM+swap+little extra) partition and setting it up right.
(Reply) (Thread)
[User Picture]From: bradfitz
2001-06-21 12:12 pm (UTC)

Re: Mouse. . .

RAM + VideoRam + 2 MB. Primary Partition. Type "a0"

Then you have to run format it, then the BIOS will recognize it.
(Reply) (Parent) (Thread)
[User Picture]From: topher
2001-06-21 12:26 pm (UTC)

Re: Mouse. . .

Video RAM!

That's what it is. . . I knew I was forgetting something there. ;-)

Bleh, now you've got me all interested and stuff. I'm gonna have to try to set that up when I get home from work.
(Reply) (Parent) (Thread)
[User Picture]From: bradfitz
2001-06-21 03:03 pm (UTC)

Re: Mouse. . .

Let me know if you get it working.
(Reply) (Parent) (Thread)
[User Picture]From: topher
2001-06-22 09:07 pm (UTC)

Re: Mouse. . .

In case you haven't seen 'em, here's two pages from Dell with (a little) information on suspend to disk.

Knowledge Base article

Dell utility for creating suspend to disk partition (creates a bootable disk, can be setup from Linux or win32)

I've got the partition created and everything should be ready to go, but the minimum suspend to disk time it would let me set in the BIOS was 30 minutes, so I'll have to wait 'till later to see if it works.
(Reply) (Parent) (Thread)
[User Picture]From: bradfitz
2001-06-22 09:27 pm (UTC)

Re: Mouse. . .

Fn-A invokes suspend to disk immediately.
(Reply) (Parent) (Thread)
[User Picture]From: topher
2001-06-22 09:50 pm (UTC)

Re: Mouse. . .

Ahhh. . . I knew there was some key combination for it, but I couldn't recall what it is.

Don't I feel like a fool when, after you made your above comment, I decided to actually glance at the keyboard and see the key marked "Suspend" (Although, looks like it's Fn-Esc on mine).

It works fine in Windows. In Linux, it takes it about 10-15 seconds before it suspends, but it does go down okay. When I brought it back up, though, my network card was out, and dumping error messages.

This could, possibly, be my own fault, though. Ever since the last time I compiled the kernel, I've been having APM difficulties, and I think I may have screwed something up with that. I don't know if that could be having an affect here, but it seems like a probable source of problems.

I'll recompile the kernel tomorrow to ensure that I've got everything set up as I want it, and see what happens then.
(Reply) (Parent) (Thread)
[User Picture]From: bradfitz
2001-06-22 10:25 pm (UTC)

Re: Mouse. . .

Hmm... I created the partition (type a0, 300 MB at the beginning of the drive) and formatted with lphdisk.exe, but it doesn't work.

Does it really have to be primary partition #4? I thought I read that somewhere... how can I control/change that number?
(Reply) (Parent) (Thread)
[User Picture]From: topher
2001-06-23 10:46 am (UTC)

Re: Mouse. . .

Hrm. . . I don't know about partition #4, I thought it just had to be a primary partition.

Coincidentally, mine did end up being partition #4, but only because I have my Windows, Linux, and Linux swap partitions ahead of it.

I wouldn't thing it should matter. . .

The only thing I can think of is perhaps try the Dell utility, see if that maybe helps. Perhaps it's someting in the partition formatting that the other one isn't getting right?

I'm recompiling my kernel now, and also looking for more info on suspend<-> NIC problems, since that seems to be the only thing that didn't come out clean. Sound, X, everything else seems cool.
(Reply) (Parent) (Thread)
[User Picture]From: bradfitz
2001-06-23 11:23 am (UTC)

Re: Mouse. . .

You could just put a script in /etc/apm/event.d/ to ifup your card after a resume.
(Reply) (Parent) (Thread)
[User Picture]From: topher
2001-06-25 06:25 am (UTC)

Re: Mouse. . .

It looks like the problem goes beyond just bringing the network card back up.

Even if I totally take it down (ifdown -a, remove the kernel module) then suspend, when I bring it back up, the NIC is toast. I can reload the kernel module for the NIC, but nothing more. ifup won't bring it back up, or at least, not correctly.

It also loses link light when it comes back up, too.

If I don't remove the module before suspending, then I get nailed with repeated error messages about ever second from the NIC.

Still haven't figured out why, though. ;-/
(Reply) (Parent) (Thread)
[User Picture]From: bradfitz
2001-06-21 12:12 pm (UTC)

Re: Mouse. . .

(format it with that tool from Dell, or from lphdisk on freshmeat... but I'm having trouble with it now)
(Reply) (Parent) (Thread)
[User Picture]From: aquaone
2001-06-21 01:04 pm (UTC)
congrats... you using mp3cat or something to keep the directory heirarchy?
(Reply) (Thread)
[User Picture]From: bradfitz
2001-06-21 03:03 pm (UTC)
I wrote a bunch of scripts awhile back to manage it all....
(Reply) (Parent) (Thread)
[User Picture]From: muerte
2001-06-21 07:12 pm (UTC)
Bahahaha, lapwarmer that's great!
(Reply) (Thread)