Re: USB keyboard mouse on Sun Ultra 5 w/PCI USB card

2004-12-16 Thread Jeremy Huddleston
 BTW, Jeremy, did you do your recompiles on a 2.4 kernel or a 2.6 kernel?  
 I've 
 been trying to avoid 2.6 kernels for several reasons, but if it is NECESSARY 
 for this to work, I might reconsider...

It's not neccessary... If you don't use SMP, 2.6 is good for you.  Some
SCSI systems have problems =2.6.7 (Blade 1K, don't know about others...
I'm getting some u2s pretty soon, so hopefully I can find the cause).
If you use IDE, you're fine.  ALSA works for sound if you use the latest
cvs or 1.0.7 with the ioctl32 fixes (search sparclinux gentoo-sparc or
debian-sparc archives).

 ===
   Exhibit #1:  'cat /proc/bus/usb/devices'
 ===
 T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 1
 B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
 D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
 P:  Vendor= ProdID= Rev= 0.00
 S:  Product=USB OHCI Root Hub
 S:  SerialNumber=280a000
 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
 I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
 E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
 T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
 B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
 D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
 P:  Vendor= ProdID= Rev= 0.00
 S:  Product=USB OHCI Root Hub
 S:  SerialNumber=2808000
 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
 I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
 E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
 T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 3
 B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
 D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
 P:  Vendor= ProdID= Rev= 2.04
 S:  Manufacturer=Linux 2.4.27-10.1-dej-usb ehci_hcd
 S:  Product=PCI device 1033:00e0
 S:  SerialNumber=02:03.2
 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
 I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
 E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms
 T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
 D:  Ver= 2.00 Cls=00(ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
 P:  Vendor=059f ProdID=0202 Rev=11.06
 S:  Manufacturer=LaCie
 S:  Product=LaCie StudioDrive USB2
 S:  SerialNumber=11100E00053A4460
 C:* #Ifs= 1 Cfg#= 2 Atr=c0 MxPwr= 98mA
 I:  If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
 E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
 E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
 E:  Ad=83(I) Atr=03(Int.) MxPS=   2 Ivl=32ms

It's not detecting the keyboard... was it attached when you did this
^^^?


-- 
Jeremy Huddleston [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: USB Keyboard drives me crazy

2004-12-13 Thread Jeremy Huddleston
cat /proc/bus/usb/devices

Also, you might want to use a 2.6 kernel.  I don't know about debian's
kernels, but a well patched 2.6.8 (gentoo-dev-sources-2.6.8-r12) does
the job great on my ultra10 because all the remaining issues (that I
know of) are SCSI and SMP related... I seem to recall the reason I
started using 2.6 was keyboard related (and I use a USB keyboard)...


On Mon, 2004-12-13 at 16:47 +0100, Oliver Derks wrote:
 Hi thereModule  Size  Used byNot tainted
 
 ...Im owning a good old Sparc 10 Ultra Workstation, and after a few 
 month catching dust I decided to use it as an Workstation.
 Not knowing in what I got myself into.
 
 I only wanted this stupid Logitech USB Keyboard to work, so I put in an 
 USB 1.1 add-on card
 here is the output of lspci
 
 :00:00.0 Host bridge: Sun Microsystems Computer Corp. Ultra IIi
 :00:01.0 PCI bridge: Sun Microsystems Computer Corp. Simba Advanced 
 PCI Bridge (rev 13)
 :00:01.1 PCI bridge: Sun Microsystems Computer Corp. Simba Advanced 
 PCI Bridge (rev 13)
 :01:01.0 Bridge: Sun Microsystems Computer Corp. EBUS (rev 01)
 :01:01.1 Ethernet controller: Sun Microsystems Computer Corp. Happy 
 Meal (rev 01)
 :01:02.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro 
 215GP (rev 5c)
 :01:03.0 IDE interface: Silicon Image, Inc. (formerly CMD Technology 
 Inc) PCI0646 (rev 03)
 :02:03.0 USB Controller: Lucent Microelectronics USS-344S USB 
 Controller (rev 11)
 :02:03.1 USB Controller: Lucent Microelectronics USS-344S USB 
 Controller (rev 11)
 :02:03.2 USB Controller: Lucent Microelectronics USS-344S USB 
 Controller (rev 11)
 :02:03.3 USB Controller: Lucent Microelectronics USS-344S USB 
 Controller (rev 11)
 :02:04.0 Multimedia controller: Sigma Designs, Inc. REALmagic 
 Hollywood Plus DVD Decoder (rev 02)
 
 and loaded the following kernel modules:
 
 
 mousedev5344   0
 openprom5188   0  (autoclean)
 sunhme 26024   1
 keybdev 2272   0  (unused)
 usb-ohci   21472   0  (unused)
 hid17544   0  (unused)
 usbcore71368   1  [usbkbd usb-ohci hid]
 sg 27568   0  (unused)
 scsi_mod   99000   1  [sg]
 rtc 2084   0  (autoclean)
 
 dmesg says:
 input: USB HID v10.01 Keyboard [Logitech USB Receiver] on usb4:2.0
 input: USB HID v10.01 Device [Logitech USB Receiver] on usb4:2.1
 
 doing an cat /dev/input/event1
 shows that the keyboard is obviously working BUT not on the console and 
 NOT in X
 
 here is my xfree driver section:Section InputDevice
 Identifier  Generic Keyboard
 Driver  keyboard
 #   Option  CoreKeyboard
 Option  XkbRules  sun
 Option  XkbModel  type4
 Option  XkbLayout de
 EndSection
 
 Section InputDevice
 Identifier  Keyboard
 Driver  kbd
 Option  CoreKeyboard
 Option  Device/dev/input/event1
 Option  XkbRules  pc105
 #Option  XkbModel  type5
 Option  XkbLayout de
 EndSection
 
 The worst thing is, that not even the sun keyboard is working properly 
 in X type 5 has an hillarious layout (try to login as oli without an l 
 on the keyboard;( and type 4 (which is mine) is not working at all...
 
 im using:
 Linux pegasus 2.4.25 #4 SMP Sun Jul 4 18:45:51 CEST 2004 sparc64 GNU/Linux
 which I made myself
 
 as Im typing Im compiling an 2.6.8er kernel. hope that changes 
 something
 
 I also tried using usbkbd but this is also no go
 can anyone help, or has similar experiences?
 
 any help appreciated
 
 greetings
 oli
 
 
 
 
 
 
 
 
 
 
 
 

-- 
Jeremy Huddleston [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: USB keyboard mouse on Sun Ultra 5 w/PCI USB card

2004-12-10 Thread Jeremy Huddleston
On Fri, 2004-12-10 at 00:09 -0800, Blars Blarson wrote:
 In article [EMAIL PROTECTED] 
 [EMAIL PROTECTED] writes:
 I have it connected to a 4-port USB KVM switch, and I bought and installed a 
 Belkin F5U219 3-port (2 external, 1 internal) USB 2.0 PCI card so that I can 
 use the USB keyboard  mouse instead of the Sun keyboard and mouse, which  I 
 would really like to get off of my desk.
 
 For the life of me, I cannot get the sparc to accept input from either the 
 USB 
 keyboard (Microsoft Internet Keyboard Pro) or the USB mouse (Kensington 
 
 AFAIK there is no way to get a usb keyboard working as a console on
 any sun that did not ship with a usb keyboard.

Well you know wrong then ;).

I have a u10 with an add-in USB PCI card, and I use my USB keyboard on
it without a hitch... the problem I've noticed is that you can't use
both.

Enable support for hid and usbkbd built as modules (Yes, BOTH).  If the
mouse doesn't work, you are probably affected by this bug and will need
both (workaround for the problem is detailed on the bug report):
http://bugme.osdl.org/show_bug.cgi?id=1459

Disable support for the sun keyboard or build it as a module but don't
load it.

You will not be able to interact with OpenBootPROM with the USB
keyboard, so make sure you keep the sun keyboard connected for that.

-- 
Jeremy Huddleston [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: sound configuration

2004-11-28 Thread Jeremy Huddleston
On Sat, 2004-11-27 at 18:54 -0600, Neil wrote:
 Honestly, I'm just about 20 hours old with Debian on ultrasparc. I'm really 
 new. ALSA? I don't know if it's involved with cs4231. When I lsmod, it just 
 shows 2 devices, audio and cs4231. I'm afraid, I won't be able to help you 
 out. 

Yeah, I'm a gentoo dev trollin', but in the spirit of peace, love, and
harmony (pun intended), you guys might want to check out the patches to
alsa-driver-1.0.7 that improve things on sparc (including a snd-ioctl32
that doesn't lockup)...

http://www.gentoo.org/cgi-bin/viewcvs.cgi/media-sound/alsa-driver/files/alsa-driver-1.0.7-ioctl32.patch-r1
http://www.gentoo.org/cgi-bin/viewcvs.cgi/media-sound/alsa-driver/files/alsa-driver-1.0.7-configure.patch

-- 
Jeremy Huddleston [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part