Port-cobalt archive

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

Re: USB Printer support



pete%rushmere.org@localhost wrote:

> So, I do 'sh /dev/MAKEDEV usbs' which should build the device nodes for the 
> usb subsystems, and I get:
> 
> root@qube:/home/pete sh /dev/MAKEDEV usbs
> /dev/MAKEDEV: usb: unknown device
 :
> /dev/MAKEDEV: ugen0: unknown device
> 
> As you can see, it won't build the ulpt* device node for the printer. I'm 
> stuck now... Any ideas?

We have to add USB devices in src/sys/arch/cobalt/conf/majors.cobalt
and update MAKEDEV in src/etc.

For 4.0, try the attached diff, build a kernel, make MAKEDEV in src/etc,
and then sh MAKEDEV usb in /dev with the new MAKEDEV script.

Note -current has new devices in majors.cobalt and I wonder
which number we should use for these usb devices though..
---
Izumi Tsutsui


--- majors.cobalt.orig  2006-11-25 07:04:21.000000000 +0900
+++ majors.cobalt       2008-05-24 09:00:17.000000000 +0900
@@ -41,6 +41,15 @@
 device-major   cgd             char 35  block 11       cgd
 device-major   panel           char 36                 panel
 device-major   ksyms           char 37                 ksyms
+device-major   pci             char 38                 pci
+#device-major  zstty           char 39                 zstty
+device-major   usb             char 40                 usb
+device-major   uhid            char 41                 uhid
+device-major   ulpt            char 42                 ulpt
+device-major   ugen            char 43                 ugen
+device-major   ucom            char 44                 ucom
+device-major   urio            char 45                 urio
+device-major   uscanner        char 46                 uscanner
 device-major   altq            char 77                 altq
 
 device-major   nsmb            char 98                 nsmb


Home | Main Index | Thread Index | Old Index