USB kernel driver
Hi,
can somebody tell me if it is possible to integrate an USB kernel driver (f. ex. linux-2.6.0\drivers\usb) into GRUB2 to access USB devices?
If possible, it would be great if somebody could tell me what basic steps I have to do.
Thanks a lot,
Jochen
[email protected] writes:
Hi,
Quoted 5 lines
can somebody tell me if it is possible to integrate an USB kernel driver (f. ex. linux-2.6.0\drivers\usb) into GRUB2 to access USB devices?
If possible, it would be great if somebody could tell me what basic steps I have to do.
I don't think it is possible. Linux has multitasking, interrupt handing, a drive framework including the required bus drives, etc.
For GRUB we have to write our own drivers, I think. And besides that, I don't think it is nice to maintain the glue code.
--
Marco
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 8 lines · On Tue, 18 Oct 2005 18:03:08 +0200 Marco Gerards <[email protected]>…
[email protected] writes:
Hi,
Quoted 4 lines
can somebody tell me if it is possible to integrate an USB kernel driver (f. ex. linux-2.6.0\drivers\usb) into GRUB2 to access USB devices?
Quoted 8 lines
Quoted 2 lines
If possible, it would be great if somebody could tell me what basic steps I have to do.
I don't think it is possible. Linux has multitasking, interrupt handing, a drive framework including the required bus drives, etc.
For GRUB we have to write our own drivers, I think. And besides that, I don't think it is nice to maintain the glue code.
How about borrowing from etherboot?
NIC drivers were borrowed from there in the past - is that (gonna be) the case with v2 as well?
Perhaps it would be relevant to share some of their work on getting USB NICs to work as well?
- Jonas
- --
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
- Enden er nær: http://www.shibumi.org/eoti.htm
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDVSAin7DbMsAkQLgRAutLAJwP6TOt1IXko+Wwpbgq6JJkWQUcyQCeJbwt c4JSgl+lZlSrIy7CEr7NWeE=
=j+0y
-----END PGP SIGNATURE-----
Quoted 7 lines · Jonas Smedegaard
How about borrowing from etherboot?
NIC drivers were borrowed from there in the past - is that (gonna be) the case with v2 as well?
Perhaps it would be relevant to share some of their work on getting USB NICs to work as well?
Etherboot has USB drivers? Etherboot is easier because it has to function in about the same circumstances as GRUB does. So that would be possible.
I wonder how portable the etherboot drivers are to architectures like the PPC and sparc.
--
Marco
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 7 lines · On Tue, 18 Oct 2005 18:25:45 +0200 Marco Gerards <[email protected]>…
Quoted 5 lines · Jonas Smedegaard
How about borrowing from etherboot?
NIC drivers were borrowed from there in the past - is that (gonna be) the case with v2 as well?
Quoted 6 lines
Quoted 2 lines
Perhaps it would be relevant to share some of their work on getting USB NICs to work as well?
Etherboot has USB drivers? Etherboot is easier because it has to function in about the same circumstances as GRUB does. So that would be possible.
Arrh - had a quick look just before but looking again it shows that USB is only mentioned in a header file of a wireless driver. No support for USB busses :-(
Quoted 2 lines
I wonder how portable the etherboot drivers are to architectures like the PPC and sparc.
Oh yes - that's right :-)
- Jonas
- --
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
- Enden er nær: http://www.shibumi.org/eoti.htm
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDVSWXn7DbMsAkQLgRAlE1AJ4n/SW/xFJRJkUBChDkv7OgqH8XYQCggLVG deLqPtqtrTM/puF+YUeTyyM=
=2NdX
-----END PGP SIGNATURE-----