Showing posts with label powerpc. Show all posts
Showing posts with label powerpc. Show all posts

Monday, August 9, 2010

sudo lsusb -d 05ac:0205 -vvx

Bus 004 Device 003: ID 05ac:0205 Apple, Inc. Extended Keyboard [Mitsumi]
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x05ac Apple, Inc.
  idProduct          0x0205 Extended Keyboard [Mitsumi]
  bcdDevice            1.22
  iManufacturer           1 Mitsumi Electric
  iProduct                3 Apple Extended USB Keyboard
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           59
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower               50mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode           13 International (ISO)
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      65
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode           13 International (ISO)
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     110
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval             255
Device Status:     0x0000
  (Bus Powered)

Debian on MacMiniG4

I finally manage to get the debian-installer to work !

Steps:

$ wget http://cdimage.debian.org/debian-cd/5.0.5/powerpc/iso-dvd/debian-505-powerpc-DVD-1.iso
--2010-08-09 14:34:09--  http://cdimage.debian.org/debian-cd/5.0.5/powerpc/iso-dvd/debian-505-powerpc-DVD-1.iso
Resolving cdimage.debian.org... 130.239.18.173, 130.239.18.163, 2001:6b0:e:2018::163, ...
Connecting to cdimage.debian.org|130.239.18.173|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://caesar.acc.umu.se/debian-cd/5.0.5/powerpc/iso-dvd/debian-505-powerpc-DVD-1.iso [following]
--2010-08-09 14:34:09--  http://caesar.acc.umu.se/debian-cd/5.0.5/powerpc/iso-dvd/debian-505-powerpc-DVD-1.iso
Resolving caesar.acc.umu.se... 130.239.18.142, 2001:6b0:e:2018::142
Connecting to caesar.acc.umu.se|130.239.18.142|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4698593280 (4.4G) [application/octet-stream]
Saving to: `debian-505-powerpc-DVD-1.iso'

100%[================================================================================================================================>] 4,698,593,280 1.29M/s   in 55m 13s

2010-08-09 15:29:22 (1.35 MB/s) - `debian-505-powerpc-DVD-1.iso' saved [4698593280/4698593280]


Then using k3b, just open the iso image, burn onto a SONY DVD+R 4.7GB/120min AccuCORE. Apparently this is a bad idea to check "Verify written data", this leads to the following error:


Anyway using this DVD, just go back to your MacMiniG4, reboot, press the Option key during reboot, wait ... and finally it should display a cute pinguin logo, next to the mac hard drive.

Conclusion:
- CDROM does NOT work (I tried sarge 31r8, lenny 504, lenny 505 on different cd-r and cd-rw)
- I could never get USB to boot

Solution: just get the dvd iso, toat it, it works !

Warning: during installation I choose "use LVM on whole disk", when you press next you should get:

No NewWorld boot partition was found. The yaboot boot loader requires an Apple_Bootstrap 
partition of at least 819200 bytes in size, using the HFS Macintosh file system.

Simply ignore this message (press 'No').

I could also find this problem on another post:

http://www.macfreek.nl/mindmaster/Debian_on_PowerBookG4

It seems this guy, also had issue booting from a cdrom / usb !

References to the whole story:
- http://lists.debian.org/debian-powerpc/2010/07/msg00097.html
- http://malatsblog.blogspot.com/2010/07/preparing-bootable-debian-installer-cd.html