Author Topic: Ratoc Cfu-1 And Usb Mouse  (Read 3108 times)

g33k

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Ratoc Cfu-1 And Usb Mouse
« on: November 03, 2005, 01:16:46 pm »
I installed RC12 on my C860 last night and set up my CFU-1 USB host card. I was able to mount a USB flash drive and access it properly.

I decided to have another go at getting my USB mouse working. I created the following device nodes:

/dev/input
/dev/input/mice
/dev/input/mouse0

I modprobed mousedev and hid.

I plugged in my USB mouse and saw in dmesg that the mouse was detected.

I then tried cat /dev/input/mice. No error was returned but no data was dumped to the console when I manipulated the mouse.

I tried cating /dev/input/mouse0 with the same result.

I created more device nodes:

/dev/input/mouse1
/dev/input/mouse2
/dev/input/mouse3

and tried cating them.

For each of those, I got an error that said that the device didn't exist.

When I removed the USB mouse, I got the same error for /dev/input/mouse0.

This suggested to me that /dev/input/mouse0 was properly mapping the USB mouse, and it seemed that everything *almost* worked - but not.

I tried using usbmouse instead of mousedev with the same results.

I looked around on the net for some clue as to what I could try next. Everything I read seemed to say that after modprobing the modules and creating the device nodes, I should be able to see mouse data when I cat the device. No one provided any further troubleshooting information; it seemed to be something that should "just work."

The really frustrating thing is that last time I fooled around with this, I *was* able to see mouse data on the console, and I feel that I did the exact same thing to accomplish this. Yet, this time, I was less successful.

The mouse I'm using is the same as I used last time, and one that I've been using successfully with my laptop. When I connect it to the CFU-1, the mouse lights up (it's optical). I don't think there's any chance this is a hardware issue.

I'm by no means confident that the corgi xserver has mouse support, but it seems like I should be able to get mouse data on the console in any case.

Has something changed in the ROM to make this less possible?

Does anyone have any suggestions as to what else I might try?

I would really, really like to get this to work.

g33k

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Ratoc Cfu-1 And Usb Mouse
« Reply #1 on: March 20, 2006, 03:30:00 pm »
So, four and a half months later, having just installed v1.1beta2, things seem to be unchanged. It's swell that the Ratoc CFU-1 is supported by the ROM now, but I still can't figure out how to use a mouse.

Can anyone point me in the right direction?

omega

  • Hero Member
  • *****
  • Posts: 626
    • View Profile
    • http://
Ratoc Cfu-1 And Usb Mouse
« Reply #2 on: March 25, 2006, 07:22:35 am »
try a non optical mouse, and plug the charger in to the Z to make sure it's not a power issue...
Gorgeous C860, 256 Sandisk SD, 1Gig Pretec 40x CF, PDAIR leather case & the really cool retractable iPDA USB sync/charge cable. Powered by PDAXROM BETA 1.

My wish - to have a Command & Conquer style game on my Z! (FREECNC!!!) Simcity 2000 would also be great.

miskinis

  • Sr. Member
  • ****
  • Posts: 348
    • View Profile
    • http://
Ratoc Cfu-1 And Usb Mouse
« Reply #3 on: March 25, 2006, 07:29:42 am »
Hi,

Since I have the SL-6000, I am on beta 1.  I'll be happy to check out a
a USB mouse, since my Z host cable just arrived.  I have a cordless
desktop (keyboard and mouse) that has a USB connection.  Can I
just plug it into the 6000 and expect it to work?

Again, I am new to using USB on the Z, pardon my temporary ignorance!

John
_John Miskinis_

karlto

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
    • http://
Ratoc Cfu-1 And Usb Mouse
« Reply #4 on: March 26, 2006, 03:19:59 pm »
Quote
Hi,

Since I have the SL-6000, I am on beta 1.  I'll be happy to check out a
a USB mouse, since my Z host cable just arrived.  I have a cordless
desktop (keyboard and mouse) that has a USB connection.  Can I
just plug it into the 6000 and expect it to work?[/CODE]

Again, I am new to using USB on the Z, pardon my temporary ignorance!

John
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120197\"][{POST_SNAPBACK}][/a][/div]

My cheap optical USB mouse works fine with my SL6000 (RC12) with zero configuration - just plug it in. dmesg output:

Code: [Select]
hub.c: USB new device connect on bus1/1, assigned device number 27
usb.c: USB device 27 (vend/prod 0x1241/0x1177) is not claimed by any active driver.
usb.c: registered new driver usb_mouse
input0: USB HIDBP Mouse 1241:1177 on usb1:27.0
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
usb.c: registered new driver hid
hid-core.c: v1.8 Andreas Gal, Vojtech Pavlik
hid-core.c: USB HID support drivers

/dev/usbmouse is a symlink to /dev/input/mice, which I assume is the correct device.

As noted in various other topics in this forum, X doesn't support the scroll wheel.
SL6000-L, RC12