Re: shutting down mac mini
El lun, 25-04-2005 a las 10:17 +1000, Benjamin Herrenschmidt escribi: On Sun, 2005-04-24 at 20:56 +0200, congrio atarip wrote: Hi, i have a mac mini in a client busines and i need that the owner (he doesnt know anything about computers or linux) poweroff the mac mini all days. But pressing the power button in a mac mini isnt work. Is there any way to do a clean poweroff of this machine? PD. this machine hasnt any conection to the net or any keyboard. thx in advance and excuse my very bad english. It may be possible to read the power button status from userland and trigger a clean shutdown... have you checked if you get anything from /dev/pmu when you press it ? Ben Hi, /dev/pmu only exist if i have installed pmud, but if i do more /dev/pmu or cat /dev/pmu i have an error: /dev/pmu: No such device.
Re: shutting down mac mini
On Sun, 2005-04-24 at 20:56 +0200, congrio atarip wrote: But pressing the power button in a mac mini isnt work. Is there any way to do a clean poweroff of this machine? Maybe the mac mini has a similar power button like the new powerbook: http://johannes.sipsolutions.net/PowerBook/special_buttons If you don't have pmu you need to recompile the kernel with pmu support. johannes signature.asc Description: This is a digitally signed message part
[PATCH] pmac: save master volume on sleep
Hi, Ben's patch that shutdowns master switch and restores it after resume (pmac: Improve sleep code of tumbler driver) isn't enough here on an iBook (snapper chip). The master switch is correctly saved and restored, but somehow tumbler_put_master_volume() gets called just after tumbler_set_master_volume() and sets mix-master_vol[*] to 0. So, on resuming, the master switch is reenabled, but the volume is set to 0. Here's a patch that also saves and restores master_vol. Jaroslav, I'm pushing it to you because Takashi's on holidays; the patch has been acked by Takashi and Benjamin. Thanks, Signed-off-by: Colin Leroy [EMAIL PROTECTED] --- a/sound/ppc/tumbler.c 2005-04-21 19:56:06.0 +0200 +++ b/sound/ppc/tumbler.c 2005-04-21 19:55:43.0 +0200 @@ -99,6 +99,7 @@ pmac_gpio_t hp_detect; int headphone_irq; int lineout_irq; + unsigned int save_master_vol[2]; unsigned int master_vol[2]; unsigned int save_master_switch[2]; unsigned int master_switch[2]; @@ -1128,6 +1129,8 @@ disable_irq(mix-lineout_irq); mix-save_master_switch[0] = mix-master_switch[0]; mix-save_master_switch[1] = mix-master_switch[1]; + mix-save_master_vol[0] = mix-master_vol[0]; + mix-save_master_vol[1] = mix-master_vol[1]; mix-master_switch[0] = mix-master_switch[1] = 0; tumbler_set_master_volume(mix); @@ -1156,6 +1159,8 @@ mix-acs = ~1; mix-master_switch[0] = mix-save_master_switch[0]; mix-master_switch[1] = mix-save_master_switch[1]; + mix-master_vol[0] = mix-save_master_vol[0]; + mix-master_vol[1] = mix-save_master_vol[1]; tumbler_reset_audio(chip); if (mix-i2c.client mix-i2c.init_client) { if (mix-i2c.init_client(mix-i2c) 0) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: shutting down mac mini
Johannes Berg [EMAIL PROTECTED] writes: On Sun, 2005-04-24 at 20:56 +0200, congrio atarip wrote: But pressing the power button in a mac mini isnt work. Is there any way to do a clean poweroff of this machine? Maybe the mac mini has a similar power button like the new powerbook: http://johannes.sipsolutions.net/PowerBook/special_buttons If you don't have pmu you need to recompile the kernel with pmu support. CONFIG_ADB_PMU isn't enough, you also have to set CONFIG_PMAC_PBOOK to get /dev/pmu. (On ppc64 CONFIG_PMAC_PBOOK doesn't compile currently. Some time ago I've hacked a version of via-pmu.c that made parts of the /dev/pmu code available without CONFIG_PMAC_PBOOK and was able to get power button events on my G5.) Juergen -- Juergen Kreileder, Blackdown Java-Linux Team http://blog.blackdown.de/ pgpf0b5et4HX1.pgp Description: PGP signature
Re: shutting down mac mini
El lun, 25-04-2005 a las 09:03 +0200, Juergen Kreileder escribi: Johannes Berg [EMAIL PROTECTED] writes: On Sun, 2005-04-24 at 20:56 +0200, congrio atarip wrote: But pressing the power button in a mac mini isnt work. Is there any way to do a clean poweroff of this machine? Maybe the mac mini has a similar power button like the new powerbook: http://johannes.sipsolutions.net/PowerBook/special_buttons If you don't have pmu you need to recompile the kernel with pmu support. CONFIG_ADB_PMU isn't enough, you also have to set CONFIG_PMAC_PBOOK to get /dev/pmu. (On ppc64 CONFIG_PMAC_PBOOK doesn't compile currently. Some time ago I've hacked a version of via-pmu.c that made parts of the /dev/pmu code available without CONFIG_PMAC_PBOOK and was able to get power button events on my G5.) Juergen Ok, i have compiled kernel with this options. Now i have /dev/pmu. I have installed pmud and it says: Apr 25 09:43:27 amargo pmud[2415]: pmud [treshold = 420, margin = 15] started Apr 25 09:43:27 amargo pmud[2415]: PMU version 85: Wow, later than a Titanium! ;-) Apr 25 09:43:27 amargo pmud[2415]: pmud [treshold = 420, margin = 15] started Apr 25 09:43:27 amargo pmud[2415]: PMU version 85: Wow, later than a Titanium! ;-) Apr 25 09:43:27 amargo pmud[2415]: daemon stopped (incorrect PMU version) Apr 25 09:43:27 amargo pmud[2415]: pmud [treshold = 420, margin = 15] started Apr 25 09:43:27 amargo pmud[2415]: PMU version 85: Wow, later than a Titanium! ;-) Apr 25 09:43:27 amargo pmud[2415]: daemon stopped (incorrect PMU version) Apr 25 09:43:27 amargo pmud[2415]: daemon stopped (incorrect PMU version) if i use pbbuttonsd: Apr 25 09:55:29 amargo pbbuttonsd: WARNING: No event devices available. Lets see what's wrong. Apr 25 09:55:29 amargo pbbuttonsd: WARNING: No event devices available. Lets see what's wrong. Apr 25 09:55:29 amargo pbbuttonsd: - Kernel module evdev.o is already loaded, must be something else. Apr 25 09:55:29 amargo pbbuttonsd: - Can't figure out what's wrong, sorry - keyboard actions won't work. Apr 25 09:55:29 amargo kernel: i2c_adapter i2c-4: I2C level transfers not supported Apr 25 09:55:29 amargo pbbuttonsd: WARNING: No event devices available. Lets see what's wrong. Apr 25 09:55:29 amargo pbbuttonsd: - Kernel module evdev.o is already loaded, must be something else. Apr 25 09:55:29 amargo pbbuttonsd: - Can't figure out what's wrong, sorry - keyboard actions won't work. Apr 25 09:55:29 amargo kernel: i2c_adapter i2c-4: I2C level transfers not supported Apr 25 09:55:29 amargo pbbuttonsd: INFO: saving of config enabled to /etc/pbbuttonsd.conf. Apr 25 09:55:29 amargo pbbuttonsd: ERROR: Can't open mixer device [/dev/mixer]. No such file or directory Apr 25 09:55:29 amargo pbbuttonsd: INFO: pbbuttonsd 0.6.6: Wow, later than an Titanium! ;-) (PMU version: 85) Apr 25 09:55:29 amargo kernel: i2c_adapter i2c-4: I2C level transfers not supported Apr 25 09:55:29 amargo pbbuttonsd: - Kernel module evdev.o is already loaded, must be something else. Apr 25 09:55:29 amargo pbbuttonsd: - Can't figure out what's wrong, sorry - keyboard actions won't work. Apr 25 09:55:29 amargo pbbuttonsd: INFO: saving of config enabled to /etc/pbbuttonsd.conf. Apr 25 09:55:29 amargo pbbuttonsd: ERROR: Can't open mixer device [/dev/mixer]. No such file or directory Apr 25 09:55:29 amargo pbbuttonsd: INFO: pbbuttonsd 0.6.6: Wow, later than an Titanium! ;-) (PMU version: 85) Apr 25 09:55:29 amargo pbbuttonsd: INFO: Script '/etc/power/pmcs-pbbuttonsd performance ac ' launched and exited normally Apr 25 09:55:29 amargo pbbuttonsd: INFO: saving of config enabled to /etc/pbbuttonsd.conf. Apr 25 09:55:29 amargo pbbuttonsd: ERROR: Can't open mixer device [/dev/mixer]. No such file or directory Apr 25 09:55:29 amargo pbbuttonsd: INFO: pbbuttonsd 0.6.6: Wow, later than an Titanium! ;-) (PMU version: 85) Apr 25 09:55:29 amargo pbbuttonsd: INFO: Script '/etc/power/pmcs-pbbuttonsd performance ac ' launched and exited normally Apr 25 09:55:29 amargo pbbuttonsd: INFO: Script '/etc/power/pmcs-pbbuttonsd performance ac ' launched and exited normally And, if i press power button, nothing happen. Again... excuse this... horrible English.
Re: 2.6.11, pppoe, iptables
According to Michael Flaig, on Sun, 24 Apr 2005 12:30:21 +0200, Hi, my firewall is a duron 800 with sarge and 2.6.11 ... my dsl connection does work only after I did run pppoeconfig. If I reboot (without changes to pppoe settings) it doesn't work anymore. ppp starts and quits, no other message logged. Did this problem appeared with 2.6.10/11? Is this the same problem as yours? I don't think so. But I think your problem may be another one... As on the Interface (eth0 in your case) the firewall policy is already set when you start dialing, i think the pppoe traffic gets dropped. If your policy sets the filters for eth0 (in case you use ethernet), you have to disable these policies before dialing out and set the policy again after connection is established... Firestarter configure the firewall for ppp0, and start when the connection is started. The connexion works, I received an IP and DNS server, DNS and ping packet go through. Only tcp part is out. When I try setting the firewall by hand, everything get locked as soon as I put a rule which filter tcp packet according to their state (syn, invalid,...), even if it is only to accept all packets, whatever their state. firestarter has to set the default action for the interface to deny or reject and let ports through that you have allowed. I think the pppoe protocol is not tcp/ip and can not be filtered corretly by iptables. So the packages get dropped because of the default action. No I don't think so. At least, it would not explain why this changed fron 2.6.8 to 2.6.10/11. With 2.6.8 everything work fine. do you have anything in your log when you start dialing? anything useful to build an rule? No, with 2.6.8, the rejected packet appear in syslog. with 2.6.11 they don't. If you do not use ethernet in a local area network you should set the firewall policy on ppp0 instead of the ethernet interface. For pppoe to work the eth0 interface shouldn't be configured and have an default policy action like drop or reject, AFAIK... It is on ppp0. If firestarter doesn't give you enough options to configure the iptables rules maybe fwbuilder (http://www.fwbuilder.org) is something for you. I'll have a look to that. Thanks for your advice. -- Cedric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: shutting down mac mini
:( i am having a wrong day... 40 0c 40 04 40 0c |@[EMAIL PROTECTED]@.| 40 04 40 0c 40 04 |@[EMAIL PROTECTED]@.| sorry. El lun, 25-04-2005 a las 10:35 +0200, Johannes Berg escribi: On Mon, 2005-04-25 at 10:33 +0200, congrio wrote: log say: 40 0c 40 04 40 0c |@[EMAIL PROTECTED]@.| And it doesn't change when you push the power button? On my powerbook I get 40 14 00 00 00 30 on interrupt and 40 1c 00 00 00 30 when I push the power button. johannes
Re: shutting down mac mini
On Mon, 2005-04-25 at 10:38 +0200, congrio wrote: 40 0c 40 04 40 0c |@[EMAIL PROTECTED]@.| 40 04 40 0c 40 04 |@[EMAIL PROTECTED]@.| Aha. I'll look at having support in pbbuttonsd over the course of the week. johannes signature.asc Description: This is a digitally signed message part
Re: iBook G4: Mouse pointer jumping
Colin Leroy [EMAIL PROTECTED] wrote: On 24 Apr 2005 at 12h04, Benjamin Herrenschmidt wrote: Hi, Has everyone else ever seen this problem? You can't really control the touchpad, the pointer jumps wild to and from and walk around when you away from the touchpad. This is really crazy. There have been no change that I remember to the driver ... Tried booting in OS X just in case ? Doing so may tweak the firmware of the PMU who drives the trackpad... No problem here either. Joerg: do you have the same problem with an usb mouse? I don't have an usb mouse. I use only the touchpad. But I can lend out one. Is it possible to reset the touchpad while running? Jörg. -- The UNIX Guru's View of Sex: # unzip ; strip ; touch ; finger ; mount ; fsck ; more ; yes ; umount ; sleep -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: External Monitor from PowerBook5,6 not working
More experiments getting any external monitor to work on a post-February 2005 PowerBook5,6 15. My goal is clone mode so I can use a beamer. I am using 2.6.12-rc3 now (I can confirm that sounds works) Using the DVI-to-VGA adaptor I connect a 17flat panel. Booting up, the external monitor gets a signal, but stays blank. Starting up Xorg (CVS HEAD from two weeks ago) using UseFB, I get nothing on the external one. Trying no UseFB, it never finds a good mode for the second monitor and disables it, there is no display on the laptop panel then, like a switched off backlight. Here is a Xorg.log file, trying with MergeFB: http://intevation.de/Intevation/~bernhard/ppc/powerbook5,6/Xorg.0.log-mergefb-20050425 Starting the old Xfree4.3.x from debian I do get a picture on the external monitor from then on. It stays disorted, though. The best I could get was a correctly looking mouse pointer or disorted stuff. As I do get _some_ output on the external monitor, maybe this is only a problem of configuring the right values. My experiments have not brought usable results. Bernhard On Mon, Apr 18, 2005 at 10:41:29AM +0200, Bernhard Reiter wrote: On Sat, Apr 16, 2005 at 09:59:23AM +1000, Benjamin Herrenschmidt wrote: On Fri, 2005-04-15 at 12:04 +0200, Bernhard Reiter wrote: On Thu, Apr 14, 2005 at 06:02:05PM +0200, Bernhard Reiter wrote: On Thu, Apr 14, 2005 at 05:30:02PM +0200, Bernhard Reiter wrote: So now I have a fresh CVS build of xorg. I still cannot get a pictures without using UseFBDev. Hrm... UseFBDev does not work with dual head. If you are using X.org CVS HEAD, it should work with VGA out (but not DVI yet). I am a bit in the dark how I should configure this. Shall I use UseFBDev and then what? As mentioned, I get unusable disorted output when the external monitor is plugged in via VGA (over the dvi port) and I am booting my kernel. But this is unrelated to the xserver. pgpU0yk3UzS6H.pgp Description: PGP signature
Re: External Monitor from PowerBook5,6 not working
Bernhard Reiter [EMAIL PROTECTED] writes: More experiments getting any external monitor to work on a post-February 2005 PowerBook5,6 15. My goal is clone mode so I can use a beamer. I am using 2.6.12-rc3 now (I can confirm that sounds works) Using the DVI-to-VGA adaptor I connect a 17flat panel. Have you tried creating a modeline for your monitor? That is what fixed it for me, although I didn't have the IO errors like you are getting. From this part of your Xorg log: (II) RADEON(0): clock: 108.0 MHz Image Size: 338 x 270 mm (II) RADEON(0): h_active: 1280 h_sync: 1328 h_sync_end 1440 h_blank_end 1688 h_border: 0 (II) RADEON(0): v_active: 1024 v_sync: 1025 v_sync_end 1028 v_blanking: 1066v_border: 0 I would try and have a section like this in my xorg.conf Section Monitor Identifier Standardbildschirm ModeLine1280x1024 108.0 1280 1328 1440 1688 1024 1025 1028 1066 EndSection Section Screen Identifier Default Screen Device ATI Technologies, Inc. RV350 [Mobility Radeon 9600 M10] Monitor Standardbildschirm DefaultDepth24 SubSection Display Depth 24 Modes 1280x854 1280x1024 EndSubSection EndSection cheers, John pgpeaiQXWkJrN.pgp Description: PGP signature
Re: shutting down mac mini
On Sun, 2005-04-24 at 20:56 +0200, congrio atarip wrote: But pressing the power button in a mac mini isnt work. Is there any way to do a clean poweroff of this machine? Here's a patch for pbbuttonsd to support the new powerbutton. http://edit.johannes.sipsolutions.net/PowerBook/pbbuttonsd-pmu-powerbutton.patch To use, modify your pbbuttonsd.conf to read: SomeKey = pmupowerbutton You can use it for whatever you like :) johannes signature.asc Description: This is a digitally signed message part
Re: shutting down mac mini
Thanks Johannes! i am going to try it! El lun, 25-04-2005 a las 16:30 +0200, Johannes Berg escribi: On Sun, 2005-04-24 at 20:56 +0200, congrio atarip wrote: But pressing the power button in a mac mini isnt work. Is there any way to do a clean poweroff of this machine? Here's a patch for pbbuttonsd to support the new powerbutton. http://edit.johannes.sipsolutions.net/PowerBook/pbbuttonsd-pmu-powerbutton.patch To use, modify your pbbuttonsd.conf to read: SomeKey = pmupowerbutton You can use it for whatever you like :) johannes
dvdr vs kernel issues? (and Woo Hoo!)
I had to take pretty much everything out of my powerbook to replace the monitor cable, and now it is back together and working and I'm obviously going to want to update my backups (dump 0). So, I've got the dumps, and wanted to use dvdrecord or dvd+rw-tools. I'm not having luck. autofs isn't installed, but something is ejecting even blank media from the machine after about 2 minutes. I have noauto in /etc/fstab for /dev/cdrom Any tips would be appreciated, Josh signature.asc Description: Digital signature
Re: shutting down mac mini
I am trying to patch, but patch do not apply cleanly. I am using version 0.6.9 of pbbuttonsd, is this the correct version?? Thx. El lun, 25-04-2005 a las 16:35 +0200, Johannes Berg escribi: On Mon, 2005-04-25 at 16:30 +0200, Johannes Berg wrote: Here's a patch for pbbuttonsd to support the new powerbutton. http://edit.johannes.sipsolutions.net/PowerBook/pbbuttonsd-pmu-powerbutton.patch Uh, internal URL only, use http://johannes.sipsolutions.net/PowerBook/pbbuttonsd-pmu-powerbutton.patch johannes
Re: shutting down mac mini
On Mon, 2005-04-25 at 16:54 +0200, congrio wrote: I am trying to patch, but patch do not apply cleanly. I am using version 0.6.9 of pbbuttonsd, is this the correct version?? Yeah. I really need some patch instructions on my homepage: 1. save the raw text that can be obtained by either clicking on 'show raw text' or appending ?action=raw to the URL 2. use that as the patch. johannes signature.asc Description: This is a digitally signed message part
Re: shutting down mac mini
On 4/25/05, Johannes Berg [EMAIL PROTECTED] wrote: On Sun, 2005-04-24 at 20:56 +0200, congrio atarip wrote: But pressing the power button in a mac mini isnt work. Is there any way to do a clean poweroff of this machine? Here's a patch for pbbuttonsd to support the new powerbutton. http://edit.johannes.sipsolutions.net/PowerBook/pbbuttonsd-pmu-powerbutton.patch This looks like it'll work for the G4 Cube as well (it is identified as a Core99 machine, PMU version 12). I'll try it when I get home from work. For reference, /dev/pmu was returning two-byte packets for each press and release of the power button (0x40 0x0d and 0x40 0x05, respectively). -- - Charles Lepple
Re: shutting down mac mini
On Mon, 2005-04-25 at 11:18 -0400, Charles Lepple wrote: This looks like it'll work for the G4 Cube as well (it is identified as a Core99 machine, PMU version 12). I'll try it when I get home from work. For reference, /dev/pmu was returning two-byte packets for each press and release of the power button (0x40 0x0d and 0x40 0x05, respectively). Yeah, it should work as well then. johannes signature.asc Description: This is a digitally signed message part
Re: shutting down mac mini
I have applied the correct patch and compiled without problems. Then run pbbuttonsd but: WARNING: No event devices available. Lets see what's wrong. WARNING: - Kernel module evdev.o is already loaded, must be something else. WARNING: - Can't figure out what's wrong, sorry - keyboard actions won't work. and kernel say: i2c_adapter i2c-4: I2C level transfers not supported i have tried with --with-pmud and without it... El lun, 25-04-2005 a las 16:35 +0200, Johannes Berg escribi: On Mon, 2005-04-25 at 16:30 +0200, Johannes Berg wrote: Here's a patch for pbbuttonsd to support the new powerbutton. http://edit.johannes.sipsolutions.net/PowerBook/pbbuttonsd-pmu-powerbutton.patch Uh, internal URL only, use http://johannes.sipsolutions.net/PowerBook/pbbuttonsd-pmu-powerbutton.patch johannes
Re: unable to rip/play DVDs on PB5,4
On Mon, Apr 25, 2005 at 05:27:07PM +0100, Matthew T. Atkinson wrote: 'ello, I installed acidrip on my Athlon box and it works fine when reading and ripping a given DVD (that appears to be encrypted). However, on my PB, with the same setup (but mplayer-g4 instead of -k6) it simply fails to read the disc, suggesting that it may be faulty. I also can't play the disc using mplayer for the same reason. The error message I get from lsdvd on the PB is: [EMAIL PROTECTED]:/usr/share/doc/libdvdcss2$ lsdvd /dev/hdc libdvdread: Using libdvdcss version 1.2.8 for DVD access libdvdread: Invalid IFO for title 1 (VTS_01_0.IFO). Can't open ifo 1! [EMAIL PROTECTED]:/usr/share/doc/libdvdcss2$ and: [EMAIL PROTECTED]:/usr/share/doc/libdvdcss2$ dpkg -l | grep dvd ii dvd+rw-tools 5.21.4.10.8-1 DVD+-RW/R tools ii libdvdcss2 1.2.8-0.0 Simple foundation for reading DVDs - runtime ii libdvdread30.9.4-5Simple foundation for reading DVDs ii lsdvd 0.10-0.0 read the contents of a DVD [EMAIL PROTECTED]:/usr/share/doc/libdvdcss2$ which is the same set of packages and versions that my Athlon desktop has. Any thoughts on what's going on? Acidrip has an option somewhere to work around a PPC bug, have you tried that? You might want to rip using dvdbackup and encode from hard disk. Tamas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: syncing palm T5 on deb ppc
On Sun, 24 Apr 2005 11:55:26 -0700 Adam Done [EMAIL PROTECTED] wrote: I have been looking to sync my palm T5 with mol but using udev and hotplug, I can't get the dev to show up. By reading /usr/src/linux/Documentation/usb/usb-serial.txt and learning that I need a device /dev/ttyUSB0 but udev does not create one. I am Hi, The first thing you need is the visor kernel module. You will find it under USB Serial Converter/Handspring visor. Compile it as a module. This kernel module will provide the /dev/ttyUSBx devices and udev creates them without changes after the module is loaded. Best Regards Matthias -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Orphaned kernel config project for PowerBook G4
Sander van Geloven wrote: Hi all, The Linux kernel configuration project for PowerBook G4 which I provided via http://home.versatel.nl/vgeloven/powerbook-g4-linux-kernel-configuration/ will be an orphaned project since I've switched back to Intel with Ubuntu. Hence two questions, the first is who would like to take over the maintenance of this configuration and hosting of the web pages (you could source forge it). [...] Creating a sourceforge project might be a bit overkill and there are a lot of small pages covering ppc realated topics already, so how about merging your page with a project like PPCConfDB[1]? [1] http://ppcconfdb.sourceforge.net/ Johannes -- Private mail preferred encrypted (PGP/GPG). Email: [EMAIL PROTECTED], key-ID: 411BFB71 Fingerprint: B55E 124D 7642 A53E F8C3 F45F 7E17 3EB3 411B FB71 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: syncing palm T5 on deb ppc
On Mon, 2005-04-25 at 18:59 +0200, Matthias Grimm wrote: On Sun, 24 Apr 2005 11:55:26 -0700 Adam Done [EMAIL PROTECTED] wrote: I have been looking to sync my palm T5 with mol but using udev and hotplug, I can't get the dev to show up. By reading /usr/src/linux/Documentation/usb/usb-serial.txt and learning that I need a device /dev/ttyUSB0 but udev does not create one. I am Hi, The first thing you need is the visor kernel module. You will find it under USB Serial Converter/Handspring visor. Compile it as a module. This kernel module will provide the /dev/ttyUSBx devices and udev creates them without changes after the module is loaded. That was a very good suggestion. After looking over the kernel source I had thought that module would not work on the T5. Thank you very much. Now I have the ttyUSB automaticly added in /dev when I turn on the palm. However in the /etc/udev/udev.rules I have this setting: BUS=usb, KERNEL=ttyUSB*, SYSFS{product}=Palm Handheld*, SYMLINK=pilot But in /dev no link was created. I am just learning about udev and currently reading papers and such about using udev. Also, I am looking to use the usb sync in mol to sync to my CRM software without having to reboot to do that. I don't know if I have to tell mol to use /dev/pilot once that link is created. -Adam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Dual-boot problem with OSX 10.3.9 (OT ish)
This mail was in my mail queue due to my wise ISP. Apparently I also have my IP (dorm wide) listed in rsbl... and is only them (and is the lame ftp-url relaying scheme which does not apply). Freaking rsbl! Eddy Petrisor wrote: Mauro wrote: On Tue, 2005-04-19 at 21:49 +0300, Eddy Petrisor wrote: I have encountered the clock problem when using the ubuntu kernel 2.6.10. After most of the sleeps the laptop could not recover and I was forced to reset. Invariably the clock was set to 1-jan-1904 and I had problems with various gnome applets. What ibook? provide cat /proc/cpuinfo you assume too much :) is a pb g4 processor : 0 cpu : 7447/7457, altivec supported clock : 999MHz revision: 1.1 (pvr 8002 0101) bogomips: 664.26 machine : PowerBook5,2 motherboard : PowerBook5,2 MacRISC3 Power Macintosh detected as : 287 (PowerBook G4 15) pmac flags : 001b L2 cache: 512K unified memory : 256MB pmac-generation : NewWorld what video card? this :( (unsupported) :00:10.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] Have you tried: Option AGPMode 4 yeap, always been there $ grep AGPMode /etc/X11/XF86Config-4 Option AGPMode 4 -- Regards, EddyP === I had a favourite quote, but I forgot it. And it was insightful. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: shutting down mac mini
On 4/25/05, Johannes Berg [EMAIL PROTECTED] wrote: On Mon, 2005-04-25 at 11:18 -0400, Charles Lepple wrote: This looks like it'll work for the G4 Cube as well (it is identified as a Core99 machine, PMU version 12). I'll try it when I get home from work. For reference, /dev/pmu was returning two-byte packets for each press and release of the power button (0x40 0x0d and 0x40 0x05, respectively). Yeah, it should work as well then. Did I miss something, or is there no generic map this key to a script configuration item? I figured I could assign it to SleepKey: SleepKey = pmupowerbutton SleepKeyDelay = 0 but I don't see anything in the logs that would indicate that /etc/power/pmcs-pbbuttonsd is being called. I'll try adding some debug printfs later. (BTW, what is the recommended way to set CFLAGS+=-DDEBUG when rebuilding a .deb? Or should I just manually compile from source, now that apt-src fetched all the dependencies?) (Note that the kernel (Debian's 2.6.10) does not support actual sleeping on this hardware; I'm just trying to map the power button to a safe shutdown routine.) -- - Charles Lepple
Re: some way to start gtkbuttons at X startup
Bernhard Reiter wrote: how do I compile it with gnome session management ? This would be nice enough. ./configure --with-gnome In gnome you could also add it to the applications for a session. Find the button to start gnome-session-properties (Usually under applications - desktop settings - complex). go to the tab start applications and add. Thanks for the info. This is really useful, after Matthias' explanation. I will settle with the popups only when logged. -- Regards, EddyP === I had a favourite quote, but I forgot it. And it was insightful. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
dpkg installed kernel
Just wondering if I could benefit from those more experienced. Concerning a kernel that I installed as: dpkg -i kernel_2.6.10-2.1127_powerpc.deb I can't seem to remove it with dpkg --purge --force-remove-essential kernel-image-NNN http://www.debian.org/doc/FAQ/ch-kernel.en.html or dpkg -P kernel-image http://newbiedoc.sourceforge.net/system/kernel-pkg.html I get the feeling that if the kernel was not built with make-kpkg, it was not as it was a .deb alien converted kernel, the above removal methods do not work. Is this correct? So I've removed System.map-x.x.xx, config-x.x.xx, vmlinuz-x.x.xx and vmlinuxXXX for the new kernel, as well as /lib/modules/alienKernel So I imagine that I did not leave a trace of this kernel install. Right? What might confounds the matter is that the rpm file is 2.6.10-1.1127_FC4.dwmw2.ppc.rpm and alien converted it to 2.6.10-2 but dpkg -i kernel_2.6.10-2.1127_powerpc.deb creates 2.6.10-1 (not 2.6.10-2) files in /boot So the kernel starts off as a 2.6.10-1 rpm file then alien turns it into a 2.6.10-2 .deb but then dpkg -i uses the original rpm name to create /boot files. I imagine that this confusion may have kept the kernel from working in the first place. Thanks for your time. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]