Re: hp TC4200 tablet

2009-02-23 Thread Roland Smith
On Sun, Feb 22, 2009 at 04:49:34PM -0800, prad wrote:
 my son has a hp TC4200 tablet which worked very well with ubuntu.
 
 he has switched to fbsd7.1 and installed
 /usr/ports/x11-drivers/input-wacom
 it was compiled without usb support since the tablet uses a serial
 connection.

Are you sure this has a Wacom compatible tablet?

 which is supposed to work, but it hangs the entire system and nothing is
 being written about it in 
 /var/log/Xorg.0.log
 
 the /usr/local/etc/rc.d/wacom script writes the device
 into /etc/X11/xorg.conf as /dev/ttyd0, but we don't know if this means
 that the os picks up the tablet or not.
 
 is there anyway to find out if the tablet is actually being recognized?

Check if /dev/ttyd0 really exists. Also check dmesg output to see if the
device is recognized.

The input-wacom driver comes with a couple of programs (see
/usr/ports/x11-drivers/input-wacom/pkg-plist) that might be helpfull as
well, e.g. xsetwacom.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpyHv0fuGEJt.pgp
Description: PGP signature


Re: hp TC4200 tablet

2009-02-23 Thread prad
On Mon, 23 Feb 2009 18:28:19 +0100
Roland Smith rsm...@xs4all.nl wrote:

  he has switched to fbsd7.1 and installed
  /usr/ports/x11-drivers/input-wacom
  it was compiled without usb support since the tablet uses a serial
  connection.  
 
 Are you sure this has a Wacom compatible tablet?
 
presumably it is the same driver that works perfectly on linux.


  is there anyway to find out if the tablet is actually being
  recognized?  
 
 Check if /dev/ttyd0 really exists. Also check dmesg output to see if
 the device is recognized.
 
here we have a curious problem.
/dev/ttyd0 is there in the /dev directory.
dmesq puts out the following for sio:
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio0: [FILTER]
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled

now we don't understand how the sio stuff relates to the /dev/ttyd0
and /dev/cuad0

 The input-wacom driver comes with a couple of programs (see
 /usr/ports/x11-drivers/input-wacom/pkg-plist) that might be helpfull
 as well, e.g. xsetwacom.  

thank you.  we just tried a wacdump on /dev/ttyd0 from x and console -
both times the entire system froze.  what this suggests, i think, is
that the kernel thinks there is nothing there at ttyd0 - in other
words, the tablet's existence has not been picked up by the kernel.

we are presently looking at netbsd where the tablet is supposed to
work. may be we can find out something about how the kernel is done
differently there.

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: hp TC4200 tablet

2009-02-23 Thread Roland Smith
On Mon, Feb 23, 2009 at 10:52:48AM -0800, prad wrote:
snip
   is there anyway to find out if the tablet is actually being
   recognized?  
  
  Check if /dev/ttyd0 really exists. Also check dmesg output to see if
  the device is recognized.
  
 here we have a curious problem.
 /dev/ttyd0 is there in the /dev directory.
 dmesq puts out the following for sio:
 sio0: configured irq 4 not in bitmap of probed irqs 0
 sio0: port may not be enabled
 sio0: configured irq 4 not in bitmap of probed irqs 0
 sio0: port may not be enabled

I get more or less the same on my system so far. 

 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 8250 or not responding

But mine differs here:

sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A

Looks like the serial hardware is not being recognized. It would
supprise me that a relatively modern system would have a 8250 chip,
which dates back to the IBM XT! One would expect a 16550A.

Could be that the serial hardware is b0rken.

 now we don't understand how the sio stuff relates to the /dev/ttyd0
 and /dev/cuad0

See the sio manual page, under FILES; 'man 4 sio'.
 
  The input-wacom driver comes with a couple of programs (see
  /usr/ports/x11-drivers/input-wacom/pkg-plist) that might be helpfull
  as well, e.g. xsetwacom.  
 
 thank you.  we just tried a wacdump on /dev/ttyd0 from x and console -
 both times the entire system froze.  what this suggests, i think, is
 that the kernel thinks there is nothing there at ttyd0 - in other
 words, the tablet's existence has not been picked up by the kernel.

Or the serial chip is fried. Chek if you have any weird settings for
sio0 in /boot/device.hints.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpB5thP7vbiG.pgp
Description: PGP signature


Re: hp TC4200 tablet

2009-02-23 Thread prad
On Mon, 23 Feb 2009 20:32:49 +0100
Roland Smith rsm...@xs4all.nl wrote:

 Could be that the serial hardware is b0rken.
 
 Or the serial chip is fried. 

the tablet works fine with ubuntu.


 Chek if you have any weird settings for
 sio0 in /boot/device.hints.

ok thx!

i got this post on the freebsd forum from kamakazi:

The kernel module is really only for wacom tablets.

To use the Xorg driver you have to run Xorg without HAL support.
Bartosz is working on following the recent Xorg changes, but a lot of
things have happened there, so it will take some time for the driver to
catch up with that stuff.

so it is possible that fbsd7.1 may not be able to handle the tablet.


-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: hp TC4200 tablet

2009-02-23 Thread Roland Smith
On Mon, Feb 23, 2009 at 12:56:11PM -0800, prad wrote:
 i got this post on the freebsd forum from kamakazi:
 
 The kernel module is really only for wacom tablets.

More precisely for USB connected tablets, IIRC.

 To use the Xorg driver you have to run Xorg without HAL support.

I always compile Xorg without hal support. Works fine for me.

 Bartosz is working on following the recent Xorg changes, but a lot of
 things have happened there, so it will take some time for the driver to
 catch up with that stuff.

That's good to know. I was contemplating getting a tablet myself. I
guess I'll have to wait for the driver to get up to speed with the Xorg
changes. 

 so it is possible that fbsd7.1 may not be able to handle the tablet.

That's not really a FreeBSD problem, but more an Xorg issue. 

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpk4EsPMCCHc.pgp
Description: PGP signature


Re: hp TC4200 tablet

2009-02-23 Thread prad
On Mon, 23 Feb 2009 23:38:06 +0100
Roland Smith rsm...@xs4all.nl wrote:

  so it is possible that fbsd7.1 may not be able to handle the
  tablet.  
 
 That's not really a FreeBSD problem, but more an Xorg issue. 

but we can't even do a wacdump from the console. doesn't that suggest
that fbsd7 doesn't pickup the serial connection to the tablet?

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org