no joy with cdparanoia on dual usb ibook
It says CDROM reporting illegal table of contents. Yet cdir -n and cd-discid work just fine. Here is the full output: cdparanoia -d /dev/hdb -vsQ cdparanoia III release 10pre0 (August 29, 2006) (C) 2006 Monty [EMAIL PROTECTED] and Xiph.Org FreeBSD porting (c) 2003 Simon 'corecode' Schubert [EMAIL PROTECTED] Report bugs to [EMAIL PROTECTED] http://www.xiph.org/paranoia/ Checking /dev/hdb for cdrom... Testing /dev/hdb for SCSI/MMC interface SG_IO device: /dev/hdb CDROM model sensed sensed: LG CD-ROM CRN-8245B AHTA Checking for SCSI emulation... Drive is ATAPI (using SG_IO host adaptor emulation) Checking for MMC style command set... Drive is MMC style DMA scatter/gather table entries: 1 table entry size: 131072 bytes maximum theoretical transfer: 55 sectors Setting default read size to 13 sectors (30576 bytes). Verifying CDDA command set... Expected command set reads OK. 009: CDROM reporting illegal table of contents Unable to open disc. And here is the strace output: open(/dev/hdb, O_RDWR|O_NONBLOCK) = 3 ioctl(3, SG_IO, 0x7f93aae8) = -1 EINVAL (Invalid argument) close(3)= 0 open(/dev/hdb, O_RDWR|O_NONBLOCK) = 3 dup(3) = 4 ioctl(3, CDROMAUDIOBUFSIZ or SCSI_IOCTL_GET_IDLUN, 0x7f93ab1c) = 0 ioctl(3, SCSI_IOCTL_GET_BUS_NUMBER, 0x7f93ab18) = 0 ioctl(3, SG_IO, 0x7f93a9f0) = 0 ioctl(4, SG_EMULATED_HOST, 0x7f93ac38) = 0 ioctl(3, SG_IO, 0x7f93aad0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, SG_IO, 0x7f93aaa0) = 0 ioctl(3, CDROMMULTISESSION, 0x7f93ab88) = 0 ioctl(4, SG_SET_RESERVED_SIZE, 0x7f93ac3c) = 0 ioctl(4, SG_SET_RESERVED_SIZE, 0x7f93ac3c) = 0 ioctl(4, SG_SET_RESERVED_SIZE, 0x7f93ac3c) = 0 ioctl(4, SG_SET_RESERVED_SIZE, 0x7f93ac3c) = 0 ioctl(4, SG_SET_RESERVED_SIZE, 0x7f93ac3c) = 0 ioctl(4, SG_SET_RESERVED_SIZE, 0x7f93ac3c) = 0 ioctl(4, SG_SET_RESERVED_SIZE, 0x7f93ac3c) = 0 ioctl(4, SG_SET_RESERVED_SIZE, 0x7f93ac3c) = 0 ioctl(4, SG_SET_RESERVED_SIZE, 0x7f93ac3c) = 0 ioctl(4, SG_SET_RESERVED_SIZE, 0x7f93ac3c) = 0 ioctl(4, SG_SET_RESERVED_SIZE, 0x7f93ac3c) = 0 ioctl(4, SG_SET_RESERVED_SIZE, 0x7f93ac3c) = 0 ioctl(4, SG_SET_RESERVED_SIZE, 0x7f93ac3c) = 0 ioctl(4, SG_SET_RESERVED_SIZE, 0x7f93ac3c) = 0 ioctl(4, SG_SET_RESERVED_SIZE, 0x7f93ac3c) = 0 ioctl(4, SG_SET_RESERVED_SIZE, 0x7f93ac3c) = 0 ioctl(4, SG_SET_RESERVED_SIZE, 0x7f93ac3c) = 0 ioctl(4, SG_SET_RESERVED_SIZE, 0x7f93ac3c) = 0 ioctl(4,
Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz
Hi, I have been playing around with my iBook G4, and here is the report: On 21 Nov 2007 20:39:43 GMT, Jack Malmostoso [EMAIL PROTECTED] wrote: Honestly, I'd go for Unstable: 1) You get Xorg 1.4 with Xrandr 1.2 support and the latest and greatest ati driver 2) You get the latest kernel and possibly the latest bcm43xx driver 3) Regressions have been reported about sleep, but 2.6.22 should be ok Following Jack's advise I upgraded (dist-upgrade) to unstable - which was not as smooth as I had expected, but that is beside the point now. (may be i'll take it up in a new thread). As a consequence I have Xorg 7.3, Xrandr 1.2, bcm43xx-fwcutter 006.3, pbbuttonsd 0.7.9-2 - AND finally some success. I can access WEP and WPA PSK encrypted networks, I am yet to try WPA2 Enterprise. I can set the machine go to sleep using the power button (due to pbbuttonsd?). On Nov 22, 2007 6:52 AM, Wolfgang Pfeiffer [EMAIL PROTECTED] wrote: Attaching xorg.conf, working here on an alubook, and on a relatively fresh Debian unstable. The only problem I remember over the last time was a crash/machine-power-off, when I tried to put the machine to sleep via the powerbutton: In the meantime I believe that the reason for that that might be that pbbuttonsd perhaps wasn't up ... or something like that ... @Wolfgang: thanks for the file, but I couldn't see anything specific to a dual monitor setup (at least in clone mode) in there. I think I did not make my self clear - I was (and still am) looking for a xorg.conf with working-dual-display settings in it. But none-the-less your file was a good starting point. I added the mergedFB recomendations from Javier's (Orlando?) link http://ozlabs.org/~jk/docs/mergefb/ to have two sections each for Device, Monitor and Screen. The DVI - VGA out display is not entirely satsifactory. The image that I see on the external moonitor is extremely low on contrast and the colors are completely screwed. Anyting bold is nicely visible but the rest are all hazy, black is gray, none of the background colors (desktop/webpages) are displayed, anything in light colors is invisible. Even opensuse 10.3 had this problem too - which leads me to think that, this is specific to my hardware. Can any provide any tips on improvment? Let me know which kind of information will be helpful (xorg.conf / Xorg.log /...). -- Regards PK -- http://counter.li.org #402424 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Hotplugging: VGA to alubook 5,8 [was: Re: getting wireless and dvi out [ ... ]]
On Sat, 2007-11-24 at 02:47 +0100, Wolfgang Pfeiffer wrote: On Fri, Nov 23 2007, at 18:58 +0100, Bin Zhang wrote: On Nov 23, 2007 2:54 PM, Wolfgang Pfeiffer [EMAIL PROTECTED] wrote: On Fri, Nov 23 2007, at 14:49 +0100, Wolfgang Pfeiffer wrote: Sidenotes: Since installing the new driver some artifacts are visible around the mouse-pointer in its default arrow image ... Please let me know if This last line should have been saying: mouse-pointer on X in its default arrow image [ ... ] a photo from that might help ... And the mouse is completely gone on the console .. haven't had time, yet, to google/explore that ... Try adding a line Option SWcursor on in Section Device of your xorg.conf. That's a rather heavy-handed workaround - in particular, the SW cursor interacts badly with 3D acceleration and XVideo. The problem seems being gone for the moment, without having changed xorg.conf here ... Only legacy two-colour cursors are affected, not modern 32 bit ARGB cursors. S-video unknown connection 800x600+0+0 (normal left inverted right x axis y axis ) 0mm x 0mm 800x60060.3* ## Note: There was no S-video connection that I knew about It can't be detected reliably, hence 'unknown connection'. $ xrandr --output DVI-0 --auto xrandr: cannot find crtc for output DVI-0 This is probably related to S-video, try something like xrandr --output S-video --off --output DVI-0 --auto If you think this could be handled better, please bring it up on the [EMAIL PROTECTED] list. And this: I saw this https://bugs.freedesktop.org/show_bug.cgi?id=11796 This was the main reason I compiled the fresh xf86-video-ati sources: I thought the patch mentioned on this page would solve the scrambled mouse image on X: it didn't, IIRC ... Both the xserver and xf86-video-ati workaround hacks are needed. -- Earthling Michel Dänzer | http://tungstengraphics.com Libre software enthusiast | Debian, X and DRI developer
ppc installation issues...
Hi, Here are some of the issues that I faced while installing and upgrading debian on my iBook G4: (if I am writing to the wrong list, please let me know) $ cat /proc/cpu processor : 0 cpu : 7447A, altivec supported clock : 1199.999000MHz revision: 0.2 (pvr 8003 0102) bogomips: 73.47 timebase: 18432000 platform: PowerMac machine : PowerBook6,5 motherboard : PowerBook6,5 MacRISC3 Power Macintosh detected as : 287 (iBook G4) pmac flags : 001b L2 cache: 512K unified pmac-generation : NewWorld 1. KDE as a desktop while installing Etch - there is no option to install KDE as the desktop manger, instead of Gnome. Surprisingly, at the tasksel stage of the installation process (even in expert) mode there is no mention that the Desktop environment is actually GNOME and only GNOME!! Note that, I have tried the netinst, xfce-cd-1, and kde-cd-1 discs from this page: http://cdimage.debian.org/debian-cd/4.0_r1/powerpc/iso-cd/ and each of these installs Gnome (xfce does xfce though). More agonisingly, even after adding task=standar, laptop, kde-desktop at the boot prompt of the installer I end with a GNOME!! Why? What is the purpose of *-kde-cd-1.iso? Why is there no simple option to choose between Gnome/KDE at the tasksel stage? OK, so even after repeated formats and installations, I end up with a Gnome DM - fine, I'll change to kde later 2. I upgraded to unstable, using dist-upgrade, and the locale is screwed To be fair to the Debian folks, I was surprised and impressed to find that almost everything else worked fine, if not better, after the dist-upgrade. Anyway as of now, apt-get cmd gives the a combination of the following two error: perl warning: Please check that your locale settings LANGUAGE = (unset), LC_ALL = (unset), LANG = en_US are installed on your system ==AND== locale:cannot set LC_CTYPE to default locale: no such file or directory locale:cannot set LC_MESSAGES to default locale: no such file or directory locale:cannot set LC_ALL to default locale: no such file or directory As expected the locales package is broken... Is this the situation, or is it because of my dist-upgrade? What is the fix? -- Regards PK -- http://counter.li.org #402424 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz
Hi, On Nov 23, 2007 8:49 AM, Wolfgang Pfeiffer [EMAIL PROTECTED] wrote: Hotplugging a VGA monitor to an alubook 5,8 with a fresh ati driver works ... minor mouse isues, as of yet, but working :) ... details below .. I became a bit more adventurous and tried out the experimental ati driver... Hotplugging a VGA monitor seems to work (on my iBook G4 - powerbook 6,5) exactly as hotplugging should, that is without any xrandr --output --DVI-0 --auto command - wow that is just insanely cool The low contrast issue that I had mentioned in my earlier mail, is almost solved now, I can see the light colors fine - but it is still not pleasing... On Fri, Nov 23 2007, at 09:55 +0100, Michel Dänzer wrote: On Fri, 2007-11-23 at 03:04 +0100, Wolfgang Pfeiffer wrote: What I know is, that with xrandr 1.2 hotplugging a 2nd monitor to a 5.8 alubook doesn't do anything at all. Not out of the box, and not here on unstable Debian with packages from a few days ago and kernel 2.6.18 ... seems to do hotplugging on 2.6.22-3 that i got from unstable and xserver-xorg-video-ati 1:6.7.196-1 from experimental. I am not sure if the kernel plays any role at all... The kernel doesn't matter for this. With xserver-xorg-video-ati 6.7.19x (so far only available in experimental), external displays with a VGA connector should work with all Radeon {Power,i}Books. Displays with a DVI connector can be trickier; depending on the PowerBook model and driver version, Option MacModel powerbook or powerbook-duallink may help for those. For the iBook, I am using Option MacModel ibook ... Note that hotplugging a monitor per se isn't expected to have any direct effect; something like xrandr --output DVI-0 --auto I don't actually need to do this, but if I do (note for my case: the output is VGA-0 instead of DVI-0: xrandr --output VGA-0 --auto), I get a higer resolution (1280x1024) external monitor display; where my iBook's LCD is 1024x768 max. This projects the iBook's LCD screen to the 1024x768 block on the upper-left corner of the 1280x1024 external monitor - resulting in empty-but-accessable strips on the right and bottoom edge of the external monitor. How do I get back to 1024x768 resolution on the external display? This is what it obviously does: -- $ xrandr -q ## MY OUTPUT: Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1280 x 1200 LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis) 245mm x 184mm 1024x768 60.0*+ 800x60060.3 640x48059.9 VGA-0 connected 1024x768+0+0 (normal left inverted right x axis y axis) 376mm x 301mm 1280x1024 60.0 + 75.0 59.9 1280x960 59.9 1152x864 75.0 74.8 1024x768 75.1 70.1 60.0* 832x62474.6 800x60072.2 75.0 60.3 56.2 640x48075.0 72.8 66.7 60.0 720x40070.1 S-video disconnected (normal left inverted right x axis y axis) -- All I did - after installing xserver-xorg-video-ati_6.7.196-1 - was adding a single extra line to the xorg.conf that I attached to a message earlier in this thread: thanks Wolfgang, I did the same, and your original xorg.conf file worked nicely here. diff -u xorg.conf xorg.conf.07.11.23 --- xorg.conf 2007-11-23 11:50:29.0 +0100 +++ xorg.conf.07.11.23 2007-11-23 11:48:08.0 +0100 @@ -96,7 +96,6 @@ Identifier ATI Technologies, Inc. Radeon R250 Lf [FireGL 9000] Driver ati BusID PCI:0:16:0 - Option MacModel powerbook Option UseFBDev true Option AGPSize 16 Option AGPMode 4 and restarting X. As I mentioned - Option MacModel iBook - instead of powerbook here. Oh yes: and xrandr --output DVI-0 --off switches the attached VGA off ... the alubook screen is shaking a bit for ~ half a sec, but it works. i don't get any 'shakes' as such but it seems to 'refresh'. BTW, i do get my bit of 'shake' for ~ 1 sec when ibook actually boots - artifact of all debian installations on my machine, did not happen with kubuntu/opensuse. Sidenotes: Since installing the new driver some artifacts are visible around the mouse-pointer in its default arrow image ... Please let me know if a photo from that might help ... for once, thankfully, i didn't see this issue on my end. A load of warm greetings to all the coders on this.good work guys. -- Regards PK -- http://counter.li.org #402424
Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz
On Sat, Nov 24 2007, at 03:20 -0500, P Kapat wrote: @Wolfgang: thanks for the file, but I couldn't see anything specific to a dual monitor setup (at least in clone mode) in there. I think I did not make my self clear - My bad: You clearly wrote of an xorg.conf for clone mode. Attached is an xorg.conf I probably was using for display cloning for a few tests last year. I hope it helps ... but no guarantees ... :) As indicated earlier here: Please note that this cumbersome method isn't needed anymore. With the fresh ati driver from experimental that I mentioned in this thread display cloning should be much easier. And if my lousy memory doesn't serve me too badly even the technical advantages of the new driver supersede the old method via the attached xorg.conf by far. I was (and still am) looking for a xorg.conf with working-dual-display settings in it. But none-the-less your file was a good starting point. I added the mergedFB recomendations from Javier's (Orlando?) link http://ozlabs.org/~jk/docs/mergefb/ to have two sections each for Device, Monitor and Screen. The DVI - VGA out display is not entirely satsifactory. The image that I see on the external moonitor is extremely low on contrast and the colors are completely screwed. Anyting bold is nicely visible but the rest are all hazy, black is gray, none of the background colors (desktop/webpages) are displayed, anything in light colors is invisible. See? Does this seem to confirm what I said above on the new driver superseding etc. etc. ... ? As a sidenote - and please forgive me if you already know that - if you run Debian testing/unstable/experimental and if you have some second computer with Linux on it, I'd set up ssh for both machines: If your unstable system crashes - which can happen, especially on X - in many cases you might still be able to login to a it via ssh from a second computer and shut it down cleanly ... Such crashes do not happen too often on my system. But if it does I'm always glad to have a second Linux machine for a little ssh walk on the crashed computer .. :) Good luck! Best Regards Wolfgang -- Wolfgang Pfeiffer: /ICQ: 286585973/ + + + /AIM: crashinglinux/ http://profiles.yahoo.com/wolfgangpfeiffer Key: 0xE3037113 http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on # xorg.conf.dpkg-new (Xorg X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # # Edit this file with caution, and see the xorg.conf.dpkg-new manual page. # (Type man xorg.conf.dpkg-new at the shell prompt.) # # This file is automatically updated on xserver-xorg package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xorg # package. # # If you have edited this file but would like it to be automatically updated # again, run the following commands as root: # # cp /etc/X11/xorg.conf.dpkg-new /etc/X11/xorg.conf.dpkg-new.custom # md5sum /etc/X11/xorg.conf.dpkg-new /var/lib/xfree86/xorg.conf.dpkg-new.md5sum # dpkg-reconfigure xserver-xorg Section Files # see http://wiki.debian.org/Xorg69To7: # FontPath unix/:7100# local font server # if the local font server has problems, we can fall back on these FontPath/usr/share/fonts/X11/misc # FontPath/usr/share/fonts/X11/cyrillic FontPath/usr/share/fonts/X11/Type1 # FontPath/usr/share/fonts/X11/CID FontPath/usr/share/fonts/X11/100dpi FontPath/usr/share/fonts/X11/75dpi FontPath/usr/share/fonts/X11/100dpi:unscaled FontPath/usr/share/fonts/X11/75dpi:unscaled # FontPath/usr/share/fonts/truetype FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType EndSection Section Module LoadGLcore Loadi2c Loadbitmap Loaddbe Loadddc Loaddri Loadextmod Loadfreetype Loadglx Loadint10 Loadrecord Loadtype1 Loadv4l Loadvbe Loadevdev EndSection Section InputDevice Identifier Generic Keyboard Driver kbd Option CoreKeyboard Option XkbRules xorg Option XkbModel macintosh Option XkbLayout de Option XkbVariantnodeadkeys Option XkbOptionslv3:lwin_switch EndSection Section InputDevice Identifier Configured Mouse Driver mouse Option CorePointer Option Device/dev/input/mice Option Protocol ImPS/2 Option Emulate3Buttons false Option ZAxisMapping 4 5 EndSection Section
Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz
On 11/24/07, Wolfgang Pfeiffer [EMAIL PROTECTED] wrote: My bad: You clearly wrote of an xorg.conf for clone mode. Attached is an xorg.conf I probably was using for display cloning for a few tests last year. I hope it helps ... but no guarantees ... :) Thanks for the file - I'll keep this in my collection (hopefully I'll not need it !!). As you might have seen from my last mail, I took my chance with the new ati driver from experimental - and that seems to perform much better and is more user friendly. So, I am sticking with the experimental driver for now. Such crashes do not happen too often on my system. But if it does I'm always glad to have a second Linux machine for a little ssh walk on the crashed computer .. :) Good advice. I do have another machine running Linux so that surely helps out a lot. -- Regards PK -- http://counter.li.org #402424 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]