Subject: Re: using usb HID under netBSD 2.0.2
To: Michael <email@example.com>
From: lepingouin.tux <firstname.lastname@example.org>
Date: 08/01/2005 10:04:38
>>There are lots of mailing list for netbsd and sorry if it's not the
>>good list !
>>I installed netbsd 2.0.2 with the iso cd and I want to make an
>>application to read and write on USB-HID device.
>>I read, for use HID devices I have to use the device file uhidx !
>... with x being a number of some sort. See man uhid and man uhidev.
>>But netbsd seems to not reconize my device, and i have no usb
>>informations under dmesg !!
>Well, what /does/ your dmesg output report? Does it find your USB
>controller for instance? What kind of hardware are you using anyway?
>Please post your dmesg output so people can actually help you.
Ok, my dmesg is at the end of this mail.
But I can't run startx, it freeze on a white screen !
maybe because I'm root, but I don't know how to make a user account !!
Thank for your help.
NetBSD 2.0.2 (GENERIC) #0: Wed Mar 23 08:53:42 UTC 2005
total memory = 223 MB
avail memory = 211 MB
BIOS32 rev. 0 found at 0xfb3f0
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Duron (686-class), 1303.05 MHz, id 0x671
cpu0: features c3c3fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features c3c3fbff<PGE,MCA,CMOV,PAT,PSE36,MMXX,MMX>
cpu0: features c3c3fbff<FXSR,SSE,3DNOW2,3DNOW>
cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu0: L2 cache 64 KB 64B/line 16-way
cpu0: ITLB 16 4 KB entries fully associative, 8 4 MB entries fully
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries 4-way
cpu0: 8 page colors
isa0 at mainbus0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
atabus0 at wdc0 channel 0
wdc1 at isa0 port 0x170-0x177 irq 15
atabus1 at wdc1 channel 0
vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
wd0 at atabus0 drive 0: <Maxtor 72004 AP>
wd0: drive supports 32-sector PIO transfers, LBA addressing
wd0: 1916 MB, 3893 cyl, 16 head, 63 sec, 512 bytes/sect x 3924360 sectors
wd0: drive supports PIO mode 4, DMA mode 2
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <HL-DT-ST RW/DVD GCC-4120B, , 2.00> cdrom
cd0: drive supports PIO mode 4, DMA mode 2
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)