USB keyboard not working in installer on G4 iMac

Bug #8730 reported by Vlado Plaga
4
Affects Status Importance Assigned to Milestone
usb-discover (Ubuntu)
Fix Released
High
Colin Watson

Bug Description

My keyboard stops working once the installer starts. I have a G4 iMac and
an Apple USB keyboard. The Ubuntu CD I tried is from September 23.

I first mentioned this problem as an addition to bug #8618. Colin asked me to
report it as a separate bug and add the outpus of "lspci" and "lspci -n" from a
working system. This is a Debian unstable system.

I'd like to give Ubuntu a try, but as currently I don't have a flatrate I can't
download too many complete CD images a month and need to wait until someone
thinks this problem should be fixed, before giving it another try. I'll try to
answer more quickly next time.

Revision history for this message
Vlado Plaga (vlado-gmx) wrote :

Created an attachment (id=292)
Output of lspci and lspci -n

Revision history for this message
Colin Watson (cjwatson) wrote :

Google tells me this is an OHCI controller. I've added it to the discover tables
for good measure:

discover1-data (1.2004.09.12-0ubuntu10) warty; urgency=low

  * Add usb/usb-ohci for 106b003f (closes: Ubuntu #1997).

 -- Colin Watson <email address hidden> Sat, 2 Oct 2004 16:22:45 +0100

However, I added some code to usb-discover last night which should detect all
USB controllers without the need to update discover. This should be in the
20041003 daily CD, when it appears.

I recommend downloading daily images by rsyncing based on previous downloads,
which reduces the bandwidth costs considerably.

Revision history for this message
Vlado Plaga (vlado-gmx) wrote :

(In reply to comment #2)

> However, I added some code to usb-discover last night which should detect all
> USB controllers without the need to update discover. This should be in the
> 20041003 daily CD, when it appears.

I tried that CD, http://cdimage.ubuntu.com/daily/20041003/, by using jigdo the
way Jack Johnson describes it in the ubuntu-devel list:
http://lists.ubuntu.com/archives/ubuntu-devel/2004-September/000266.html
This way I just needed 430 of the 1088 files, which turned out to be around 300
MB. The md5 checksum was ok. Still the keyboard does not work. :(

> I recommend downloading daily images by rsyncing based on previous downloads,
> which reduces the bandwidth costs considerably.

How is this possible? I'd have to rebuild the CD, right? So I'd copy my CD to
some directory, say my_cd_master_dir, then do:

rsync rsync://archive.ubuntu.com/cdimage/daily/current/[master-directory]
my_cd_master_dir

Then mkisofs and cdrecord. But is such a master directory available? If yes
where is it?

I reopened the bug because for me the cd definitely does not work. I even found
your entry in the changelog in the discover1-data_1.2004.09.12-0ubuntu10_all.deb
file. The ohci-hci usb module should be correct, that's what I use in my
self-comiled kernel as well.

Revision history for this message
Vlado Plaga (vlado-gmx) wrote :

(In reply to comment #3)
> The ohci-hci usb module should be correct, that's what I use in my
> self-comiled kernel as well.

I'm using it together with the EHCI HCI (USB 2.0) support. The keyboard has only
USB 1.1 ports, though, and should not require this support, right?

Revision history for this message
Colin Watson (cjwatson) wrote :

(In reply to comment #3)
> I tried that CD, http://cdimage.ubuntu.com/daily/20041003/, by using jigdo the
> way Jack Johnson describes it in the ubuntu-devel list:
> http://lists.ubuntu.com/archives/ubuntu-devel/2004-September/000266.html
> This way I just needed 430 of the 1088 files, which turned out to be around 300
> MB. The md5 checksum was ok. Still the keyboard does not work. :(

From your working system, assuming it's 2.6, please show me the output of:

  grep 0c03 /sys/bus/pci/devices/*/class

> > I recommend downloading daily images by rsyncing based on previous downloads,
> > which reduces the bandwidth costs considerably.
>
> How is this possible? I'd have to rebuild the CD, right?

rsync operates on the .iso file you've downloaded. There's no need to mkisofs,
and no need for a "master directory". Type:

  rsync -avz archive.ubuntulinux.org::cdimage/daily/current/warty-i386.iso
warty-i386.iso

Revision history for this message
Vlado Plaga (vlado-gmx) wrote :

(In reply to comment #5)

> From your working system, assuming it's 2.6, please show me the output of:
>
> grep 0c03 /sys/bus/pci/devices/*/class

Voilà:

/sys/bus/pci/devices/0001:01:18.0/class:0x0c0310
/sys/bus/pci/devices/0001:01:19.0/class:0x0c0310
/sys/bus/pci/devices/0001:01:1a.0/class:0x0c0310

> rsync operates on the .iso file you've downloaded.

That's cool. I thought it could only check which files in a directory are
modified and which are not.

I hope you can fix the problem and I really appreciate your work! I'd still like
to try Ubuntu, although the main reason for my recent trouble with Debian
unstable has disappeared after an update of the xlibs package.

Revision history for this message
Colin Watson (cjwatson) wrote :

I have no idea why the new usb-discover class-handling code didn't work for you,
and it's rather hard to debug without a keyboard. I've rebuilt usb-discover
against the newest discover1-data for good measure, to see if that helps; it'll
be in the 20041009 daily.

Revision history for this message
Vlado Plaga (vlado-gmx) wrote :

(In reply to comment #7)
> I've rebuilt usb-discover
> against the newest discover1-data for good measure, to see if that helps; it'll
> be in the 20041009 daily.

I'll download and try it tomorrow. Let's hope for the best.

Revision history for this message
Vlado Plaga (vlado-gmx) wrote :

The usb keyboard is now working on my G4 iMac.

With rsync I had to download about 170 MB to update my CD image from 20041003 to
20041009.

Today I don't have time to actually perform the installation, but I'll try it soon.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.