tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: usb at pcmcia?



On Sat, 7 Jun 2008 21:53:54 -0400 (EDT)
der Mouse <mouse%Rodents.Montreal.QC.CA@localhost> wrote:

> Do we have support for PCMCIA (or cardbus) cards that provide USB?  If
> so, when did it show up?  My laptop (an IBM WorkPad - hpcmips) running
> 3.1 prints nothing at all on the console upon inserting such a card
> (normally I get autoconf-style messages upon inserting a PCMCIA card).
> While I hesitate to swtich to 4.0 both for bloat reasons and because
> of bugs such as the one in PR 38643, I might give it a try if it means
> that USB-at-PCMCIA works (this laptop doesn't have SCSI and doesn't
> have a tape drive, so there's a decent chance 38643's bug won't
> manifest).
> 
It might work.  More precisely, I regularly use an EVDO card which
manifests itself as a USB controller:

ohci0: OHCI version 1.0
usb7 at ohci0: USB revision 1.0
uhub7 at usb7
uhub7: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub7: 1 port with 1 removable, self powered
ohci1 at cardbus0 function 1: NEC USB Host Controller (rev. 0x43)
cardbus_mapreg_map called: cardbus0 0
cardbus_mapreg_map: physaddr c0001000
ohci1: interrupting at 10
ohci1: OHCI version 1.0
usb8 at ohci1: USB revision 1.0
uhub8 at usb8
uhub8: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub8: 1 port with 1 removable, self powered
umodem0 at uhub7 port 1 configuration 1 interface 0
umodem0: Curitel Communications, Inc. Curitel Communications, Inc., rev 
1.10/0.00, addr 2, iclass 2/2
umodem0: data interface 1, has CM over data, has break
umodem0: status change notification available
ucom1 at umodem0

Note two things.  First, I have Cardbus, not PCMCIA.  Second, I had to add

ehci*   at cardbus? function ?  # Enhanced Host Controller
ohci*   at cardbus? function ?  # Open Host Controller

to my kernel config file.

I'm not sure when it came in; I've been using it for >2 years.  Looking
at my archives -- and not having done any systemic searching -- I see
a note from Roland in Jan 2005 about hacking something together for a
2.0 laptop, so it might work for you.


                --Steve Bellovin, http://www.cs.columbia.edu/~smb


Home | Main Index | Thread Index | Old Index